diff --git a/src/runtime/types/form.d.ts b/src/runtime/types/form.d.ts index b2bf520d..8a540e5d 100644 --- a/src/runtime/types/form.d.ts +++ b/src/runtime/types/form.d.ts @@ -9,7 +9,7 @@ export interface FormErrorWithId extends FormError { id: string } -export interface Form { +export interface Form extends HTMLFormElement { validate(path?: string | string[], opts?: { silent?: true }): Promise; validate(path?: string | string[], opts?: { silent?: false }): Promise; clear(path?: string): void