diff --git a/src/lib/primitives/radio-group/types.ts b/src/lib/primitives/radio-group/types.ts index 57312c72c..686b3b0b3 100644 --- a/src/lib/primitives/radio-group/types.ts +++ b/src/lib/primitives/radio-group/types.ts @@ -10,7 +10,7 @@ import type { RadioGroupComponentEvents, RadioGroupItemProps } from "@melt-ui/svelte"; -import type { HTMLInputAttributes } from "svelte/elements"; +import type { HTMLButtonAttributes, HTMLInputAttributes } from "svelte/elements"; type Props = Expand< OmitValue & { @@ -27,7 +27,7 @@ type ItemProps = Expand< asChild?: boolean; } > & - HTMLButtonElement; + HTMLButtonAttributes; type ItemEvents = RadioGroupComponentEvents["item"] & KeydownClickEvents;