From 87424294b21d0b210aadd3c2d14195ed1e9911ac Mon Sep 17 00:00:00 2001 From: "S. Elliott Johnson" Date: Tue, 10 Oct 2023 14:58:00 -0400 Subject: [PATCH] fix: Types --- packages/kit/src/exports/public.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/kit/src/exports/public.d.ts b/packages/kit/src/exports/public.d.ts index a8f7751573d9..0a42aaa412ff 100644 --- a/packages/kit/src/exports/public.d.ts +++ b/packages/kit/src/exports/public.d.ts @@ -1282,8 +1282,9 @@ export type SubmitFunction< /** * Call this to get the default behavior of a form submission response. * @param options Set `reset: false` if you don't want the `
` values to be reset after a successful submission. + * @param invalidateAll Set `invalidateAll: false` if you don't want the action to call `invalidateAll` after submission. */ - update(options?: { reset: boolean }): Promise; + update(options?: { reset?: boolean; invalidateAll?: boolean }): Promise; }) => void) >;