format
This commit is contained in:
parent
b2b9b7d6bc
commit
eff185f8d1
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ export class Cache<T> {
|
||||||
this.lifetime = lifetime;
|
this.lifetime = lifetime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public set(key: string | null, value: T):void {
|
public set(key: string | null, value: T): void {
|
||||||
this.cache.set(key, {
|
this.cache.set(key, {
|
||||||
date: Date.now(),
|
date: Date.now(),
|
||||||
value
|
value
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue