Skip to content

Commit

Permalink
Merge pull request #86 from laravel/fix-ts-linting
Browse files Browse the repository at this point in the history
[1.x] Removes unused ignore comments
  • Loading branch information
timacdonald authored Aug 4, 2024
2 parents 46b5642 + 88aab24 commit 1dbc2df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,9 @@ export const useForm = <Data extends Record<string, unknown>>(method: RequestMet
form.validating = validator.validating()
})
.on('validatedChanged', () => {
// @ts-expect-error
valid.value = validator.valid()
})
.on('touchedChanged', () => {
// @ts-expect-error
touched.value = validator.touched()
})
.on('errorsChanged', () => {
Expand All @@ -47,7 +45,6 @@ export const useForm = <Data extends Record<string, unknown>>(method: RequestMet
// @ts-expect-error
form.errors = toSimpleValidationErrors(validator.errors())

// @ts-expect-error
valid.value = validator.valid()
})

Expand Down

0 comments on commit 1dbc2df

Please sign in to comment.