diff --git a/src/runtime/types/form.d.ts b/src/runtime/types/form.d.ts index 93f62897..b2bf520d 100644 --- a/src/runtime/types/form.d.ts +++ b/src/runtime/types/form.d.ts @@ -10,8 +10,8 @@ export interface FormErrorWithId extends FormError { } export interface Form { - validate(path?: string, opts?: { silent?: true }): Promise; - validate(path?: string, opts?: { silent?: false }): Promise; + validate(path?: string | string[], opts?: { silent?: true }): Promise; + validate(path?: string | string[], opts?: { silent?: false }): Promise; clear(path?: string): void errors: Ref setErrors(errs: FormError[], path?: string): void