Skip to content

Commit 16fee83

Browse files
committed
Fix build
1 parent 3676a59 commit 16fee83

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/vue/src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,9 @@ export const useForm = <Data extends Record<string, unknown>>(method: RequestMet
3434
form.validating = validator.validating()
3535
})
3636
.on('validatedChanged', () => {
37-
// @ts-expect-error
3837
valid.value = validator.valid()
3938
})
4039
.on('touchedChanged', () => {
41-
// @ts-expect-error
4240
touched.value = validator.touched()
4341
})
4442
.on('errorsChanged', () => {
@@ -47,7 +45,6 @@ export const useForm = <Data extends Record<string, unknown>>(method: RequestMet
4745
// @ts-expect-error
4846
form.errors = toSimpleValidationErrors(validator.errors())
4947

50-
// @ts-expect-error
5148
valid.value = validator.valid()
5249
})
5350

0 commit comments

Comments
 (0)