diff --git a/lsp-embedded-language-service/server/src/languageModelCache.ts b/lsp-embedded-language-service/server/src/languageModelCache.ts index d8d02c36da..ea88a279e1 100644 --- a/lsp-embedded-language-service/server/src/languageModelCache.ts +++ b/lsp-embedded-language-service/server/src/languageModelCache.ts @@ -15,7 +15,7 @@ export function getLanguageModelCache(maxEntries: number, cleanupIntervalTime let languageModels: Record = {}; let nModels = 0; - let cleanupInterval: NodeJS.Timer | undefined = undefined; + let cleanupInterval: NodeJS.Timeout | undefined = undefined; if (cleanupIntervalTimeInSec > 0) { cleanupInterval = setInterval(() => { const cutoffTime = Date.now() - cleanupIntervalTimeInSec * 1000;