Skip to content

Commit

Permalink
Fix Typescript bug
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Jan 29, 2024
1 parent 81b71ca commit 8d22df1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function getLanguageModelCache<T>(
} = {}
let nModels = 0

let cleanupInterval: NodeJS.Timer | undefined = undefined
let cleanupInterval: NodeJS.Timeout | undefined = undefined
if (cleanupIntervalTimeInSec > 0) {
cleanupInterval = setInterval(() => {
let cutoffTime = Date.now() - cleanupIntervalTimeInSec * 1000
Expand Down

0 comments on commit 8d22df1

Please sign in to comment.