You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When defining a rules object with $validationGroups typescript comes with a TS2345 error stating that the $validationGroups on the state object is not filled
To Reproduce
Add $validationGroupus to any rules object
likely culprit:
`export function useVuelidate<
T extends {[key in keyof Vargs]: any},
Vargs extends ValidationArgs = ValidationArgs,
EState extends ExtractState = ExtractState
(
validationsArgs: Ref | Vargs,
state: T | Ref | ToRefs,
globalConfig?: GlobalConfig
): Ref<Validation<Vargs, T>>; which checks the validation arguments against the state, maybe anOmit` is place?
Expected behavior
no error
Screenshots
The text was updated successfully, but these errors were encountered:
Make sure that you are familiar with documentation before submitting an issue.
https://vuelidate-next.netlify.com/
Describe the bug
When defining a rules object with
$validationGroups
typescript comes with a TS2345 error stating that the$validationGroups
on the state object is not filledTo Reproduce
Add
$validationGroupus
to any rules objectlikely culprit:
`export function useVuelidate<
T extends {[key in keyof Vargs]: any},
Vargs extends ValidationArgs = ValidationArgs,
EState extends ExtractState = ExtractState
Expected behavior
no error
Screenshots
The text was updated successfully, but these errors were encountered: