This commit is contained in:
syuilo 2021-03-18 10:54:39 +09:00
parent 8aa089178a
commit 0389e2c891

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