diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-18 10:55:51 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-18 10:55:51 +0900 |
| commit | e53a40658d40a91bfecc005ef1be712bbddbf336 (patch) | |
| tree | 9b7161146c9020d7041b9feb22d72304f956e309 /src/misc/cache.ts | |
| parent | fix bug (diff) | |
| download | sharkey-e53a40658d40a91bfecc005ef1be712bbddbf336.tar.gz sharkey-e53a40658d40a91bfecc005ef1be712bbddbf336.tar.bz2 sharkey-e53a40658d40a91bfecc005ef1be712bbddbf336.zip | |
format
Diffstat (limited to 'src/misc/cache.ts')
| -rw-r--r-- | src/misc/cache.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/cache.ts b/src/misc/cache.ts index ccc5f01ff7..5b7017a3b9 100644 --- a/src/misc/cache.ts +++ b/src/misc/cache.ts @@ -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 |