Skip to content
Snippets Groups Projects
Commit f8ac072b authored by syuilo's avatar syuilo
Browse files

fix type

parent 7cfe7da7
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment