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

This commit is contained in:
复语
2026-05-09 16:42:32 +08:00
parent b7c6dc6f6d
commit b38f7c7ba3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ const alertIcons = {
info: Info
}
let intervalId: number
let intervalId: ReturnType<typeof setInterval>
onMounted(() => {
intervalId = setInterval(() => {