Skip to content

Commit

Permalink
fix: Types
Browse files Browse the repository at this point in the history
  • Loading branch information
tcc-sejohnson committed Oct 10, 2023
1 parent 5486d8f commit 8742429
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/kit/src/exports/public.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<form>` 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<void>;
update(options?: { reset?: boolean; invalidateAll?: boolean }): Promise<void>;
}) => void)
>;

Expand Down

0 comments on commit 8742429

Please sign in to comment.