mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 01:37:20 +00:00
[json] compile error in languageModelCache
This commit is contained in:
parent
2e93ae50c5
commit
47c74f5a15
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export function getLanguageModelCache<T>(maxEntries: number, cleanupIntervalTime
|
|||
let languageModels: { [uri: string]: { version: number, languageId: string, cTime: number, languageModel: T } } = {};
|
||||
let nModels = 0;
|
||||
|
||||
let cleanupInterval = void 0;
|
||||
let cleanupInterval: NodeJS.Timer | undefined = void 0;
|
||||
if (cleanupIntervalTimeInSec > 0) {
|
||||
cleanupInterval = setInterval(() => {
|
||||
let cutoffTime = Date.now() - cleanupIntervalTimeInSec * 1000;
|
||||
|
|
Loading…
Reference in a new issue