Skip to content

Commit 1dbc2df

Browse files
authored
Merge pull request #86 from laravel/fix-ts-linting
[1.x] Removes unused ignore comments
2 parents 46b5642 + 88aab24 commit 1dbc2df

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)