fix code
parent
aa576fe7db
commit
8a20b773fb
|
@ -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
|
||||
} = {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue