diff --git a/src/components/toast-card.tsx b/src/components/toast-card.tsx index a38aa58..40545d1 100644 --- a/src/components/toast-card.tsx +++ b/src/components/toast-card.tsx @@ -148,7 +148,7 @@ export const Toast = component$((props: ToastProps) => { return; } - let timeoutId: number | NodeJS.Timeout; + let timeoutId: number; // Pause the timer on each hover const pauseTimer = () => { if (lastCloseTimerStartTimeRef.value < closeTimerStartTimeRef.value) {