From 114e235a9367284927c951d1f59b6a98ee5dbc89 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Wed, 7 May 2025 14:10:51 +0200 Subject: [PATCH] Removed useless type inference --- components/ui/toast/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/toast/index.ts b/components/ui/toast/index.ts index b08cbfd..7271a76 100644 --- a/components/ui/toast/index.ts +++ b/components/ui/toast/index.ts @@ -34,5 +34,5 @@ type ToastVariants = VariantProps export interface ToastProps extends ToastRootProps { class?: HTMLAttributes["class"] variant?: ToastVariants["variant"] - onOpenChange?: ((value: boolean) => void) | undefined + onOpenChange?: ((value: boolean) => void) }