diff --git a/src/lib/components/Button.svelte b/src/lib/components/Button.svelte index dc02f82..7d7988a 100644 --- a/src/lib/components/Button.svelte +++ b/src/lib/components/Button.svelte @@ -6,10 +6,7 @@ variant?: 'primary' | 'secondary'; class?: string; children?: import('svelte').Snippet; - } & Omit< - ({ href: string } & HTMLAnchorAttributes) | ({ href?: undefined } & HTMLButtonAttributes), - 'class' - >; + } & (({ href: string } & Omit) | HTMLButtonAttributes); let { variant = 'secondary', class: externalClass, children, ...rest }: Props = $props();