Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonav1992 committed Aug 29, 2024
1 parent c153edf commit 4c3256a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export type FieldValidationOptions<TShouldValidate = boolean> = {
*
* @default 'all'
*/
validationEvent?: NoInfer<TShouldValidate> extends false | undefined ? never : 'onChange' | 'onBlur' | 'all';
validationEvent?: NoInfer<TShouldValidate> extends true ? never : 'onChange' | 'onBlur' | 'all';
};

////// STORE //////
Expand Down

0 comments on commit 4c3256a

Please sign in to comment.