fix bug
This commit is contained in:
parent
8aa089178a
commit
0389e2c891
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ export class Cache<T> {
|
||||||
private lifetime: number;
|
private lifetime: number;
|
||||||
|
|
||||||
constructor(lifetime: Cache<never>['lifetime']) {
|
constructor(lifetime: Cache<never>['lifetime']) {
|
||||||
|
this.cache = new Map();
|
||||||
this.lifetime = lifetime;
|
this.lifetime = lifetime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue