From 4c3256a9f924098df99ffff2ae2075a8a0b8119d Mon Sep 17 00:00:00 2001 From: Alex Johnson Date: Wed, 28 Aug 2024 21:09:51 -0500 Subject: [PATCH] fix type --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 9471362..e10872d 100644 --- a/src/types.ts +++ b/src/types.ts @@ -96,7 +96,7 @@ export type FieldValidationOptions = { * * @default 'all' */ - validationEvent?: NoInfer extends false | undefined ? never : 'onChange' | 'onBlur' | 'all'; + validationEvent?: NoInfer extends true ? never : 'onChange' | 'onBlur' | 'all'; }; ////// STORE //////