From 3a44700e745570101f8ad6efaafcb0c43d2f3209 Mon Sep 17 00:00:00 2001 From: Diecodev Date: Mon, 29 Jan 2024 09:08:02 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=94=A5=20remove=20NodeJS=20namespa?= =?UTF-8?q?ce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/toast-card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {