File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4166,8 +4166,8 @@ export const $ZodLazy: core.$constructor<$ZodLazy> = /*@__PURE__*/ core.$constru
41664166 util . defineLazy ( inst . _zod , "innerType" , ( ) => def . getter ( ) as $ZodType ) ;
41674167 util . defineLazy ( inst . _zod , "pattern" , ( ) => inst . _zod . innerType . _zod . pattern ) ;
41684168 util . defineLazy ( inst . _zod , "propValues" , ( ) => inst . _zod . innerType . _zod . propValues ) ;
4169- util . defineLazy ( inst . _zod , "optin" , ( ) => inst . _zod . innerType . _zod . optin ?? undefined ) ;
4170- util . defineLazy ( inst . _zod , "optout" , ( ) => inst . _zod . innerType . _zod . optout ?? undefined ) ;
4169+ util . defineLazy ( inst . _zod , "optin" , ( ) => inst . _zod . innerType ? ._zod . optin ?? undefined ) ;
4170+ util . defineLazy ( inst . _zod , "optout" , ( ) => inst . _zod . innerType ? ._zod . optout ?? undefined ) ;
41714171 inst . _zod . parse = ( payload , ctx ) => {
41724172 const inner = inst . _zod . innerType ;
41734173 return inner . _zod . run ( payload , ctx ) ;
You can’t perform that action at this time.
0 commit comments