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

This commit is contained in:
复语
2026-05-09 16:42:32 +08:00
parent 617b343ea7
commit f83cbdeea9
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(() => {