fix: use ReturnType for setTimeout/setInterval to fix TS errors
This commit is contained in:
1 parent
b7c6dc6f6d
commit
b38f7c7ba3
2 files changed
+2
-2
No files matched your search
@@ -69,7 +69,7 @@ const alertIcons = {
|
||||
info: Info
|
||||
}
|
||||
|
||||
let intervalId: number
|
||||
let intervalId: ReturnType<typeof setInterval>
|
||||
|
||||
onMounted(() => {
|
||||
intervalId = setInterval(() => {
|
||||
|
||||
Reference in new issue
Block a user