Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed May 17, 2024
1 parent aa576fe commit 8a20b77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/modules/sync/server/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
} = {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/core/player/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8a20b77

Please sign in to comment.