mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 04:23:09 +02:00
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;
|
||||
|
||||
constructor(lifetime: Cache<never>['lifetime']) {
|
||||
this.cache = new Map();
|
||||
this.lifetime = lifetime;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue