fix: use ReturnType for setTimeout/setInterval to fix TS errors

This commit is contained in:
复语 committed 2026-05-09 17:55:38 +08:00
1 parent b7c6dc6f6d
commit b38f7c7ba3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ const alertIcons = {
info: Info
}
let intervalId: number
let intervalId: ReturnType<typeof setInterval>
onMounted(() => {
intervalId = setInterval(() => {