mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 06:48:12 +09:00
format
This commit is contained in:
parent
b2b9b7d6bc
commit
eff185f8d1
@ -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