forked from mirror/misskey
format
This commit is contained in:
parent
0389e2c891
commit
e53a40658d
@ -7,7 +7,7 @@ export class Cache<T> {
|
||||
this.lifetime = lifetime;
|
||||
}
|
||||
|
||||
public set(key: string | null, value: T):void {
|
||||
public set(key: string | null, value: T): void {
|
||||
this.cache.set(key, {
|
||||
date: Date.now(),
|
||||
value
|
||||
|
Loading…
Reference in New Issue
Block a user