1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-01 08:18:14 +09:00
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;
}