diff --git a/packages/svelte2tsx/svelte-jsx.d.ts b/packages/svelte2tsx/svelte-jsx.d.ts index a7faaa51e..848ffbe0a 100644 --- a/packages/svelte2tsx/svelte-jsx.d.ts +++ b/packages/svelte2tsx/svelte-jsx.d.ts @@ -100,7 +100,7 @@ declare namespace svelte.JSX { onchange?: FormEventHandler | undefined | null; oninput?: FormEventHandler | undefined | null; onreset?: FormEventHandler | undefined | null; - onsubmit?: FormEventHandler | undefined | null; + onsubmit?: EventHandler | undefined | null; oninvalid?: EventHandler | undefined | null; onbeforeinput?: EventHandler | undefined | null;