We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
submitter
SubmitFunction
1 parent c0612a8 commit f1beb92Copy full SHA for f1beb92
.changeset/weak-crews-report.md
@@ -0,0 +1,5 @@
1
+---
2
+'@sveltejs/kit': patch
3
4
+
5
+fix: add `submitter` type to `SumbitFunction`
packages/kit/types/index.d.ts
@@ -1264,6 +1264,7 @@ export interface SubmitFunction<
1264
data: FormData;
1265
form: HTMLFormElement;
1266
controller: AbortController;
1267
+ submitter: HTMLElement | null;
1268
cancel(): void;
1269
}): MaybePromise<
1270
| void
0 commit comments