This commit is contained in:
syuilo 2021-03-18 10:54:39 +09:00
parent 8aa089178a
commit 0389e2c891
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ export class Cache<T> {
private lifetime: number;
constructor(lifetime: Cache<never>['lifetime']) {
this.cache = new Map();
this.lifetime = lifetime;
}