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.
1 parent 35a069e commit c66cab6Copy full SHA for c66cab6
src/lib/client/index.ts
@@ -206,11 +206,11 @@ type SuperFormEventList<T extends AnyZodObject, M> = {
206
export type SuperForm<T extends ZodValidation<AnyZodObject>, M = any> = {
207
form: {
208
subscribe: Readable<z.infer<T>>['subscribe'];
209
- set(this: void, value: z.infer<T>, options: { taint?: boolean }): void;
+ set(this: void, value: z.infer<T>, options?: { taint?: boolean }): void;
210
update(
211
this: void,
212
updater: Updater<z.infer<T>>,
213
- options: { taint?: boolean }
+ options?: { taint?: boolean }
214
): void;
215
};
216
formId: Writable<string | undefined>;
0 commit comments