This commit is contained in:
syuilo 2021-03-18 10:54:39 +09:00
parent 7836dfae4f
commit b2b9b7d6bc

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;
}