mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 14:31:47 +01:00
fix(Form): fix wrong type of validate (#496)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
committed by
Benjamin Canac
parent
8b19b1880e
commit
3d6839da97
2
src/runtime/types/form.d.ts
vendored
2
src/runtime/types/form.d.ts
vendored
@@ -4,7 +4,7 @@ export interface FormError {
|
||||
}
|
||||
|
||||
export interface Form<T> {
|
||||
async validate(): T
|
||||
validate(): Promise<T>
|
||||
}
|
||||
|
||||
export interface FormEvent {
|
||||
|
||||
Reference in New Issue
Block a user