diff --git a/src/main/modules/sync/server/server/server.ts b/src/main/modules/sync/server/server/server.ts index ea53b3ab..a1cdcaf5 100644 --- a/src/main/modules/sync/server/server/server.ts +++ b/src/main/modules/sync/server/server/server.ts @@ -26,7 +26,7 @@ let stopingServer = false let host = 'http://localhost' const codeTools: { - timeout: NodeJS.Timer | null + timeout: NodeJS.Timeout | null start: () => void stop: () => void } = { diff --git a/src/renderer/core/player/utils.ts b/src/renderer/core/player/utils.ts index 8ec5c0fc..24949a66 100644 --- a/src/renderer/core/player/utils.ts +++ b/src/renderer/core/player/utils.ts @@ -42,7 +42,7 @@ export const filterList = async({ playedList, listId, list, playerMusicInfo, isN return { filteredList: markRawList(filteredList), playerIndex } } -let timeout: NodeJS.Timer | null = null +let timeout: NodeJS.Timeout | null = null const clearTimer = () => { if (!timeout) return clearTimeout(timeout)