mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-25 07:37:13 +09:00
fix type
This commit is contained in:
parent
7cfe7da73d
commit
f8ac072bc3
@ -189,7 +189,7 @@ export class RedisSingleCache<T> {
|
||||
export class MemoryKVCache<T> {
|
||||
public cache: Map<string, { date: number; value: T; }>;
|
||||
private lifetime: number;
|
||||
private gcIntervalHandle: NodeJS.Timer;
|
||||
private gcIntervalHandle: NodeJS.Timeout;
|
||||
|
||||
constructor(lifetime: MemoryKVCache<never>['lifetime']) {
|
||||
this.cache = new Map();
|
||||
|
Loading…
Reference in New Issue
Block a user