Closed 3fatty closed 5 months ago
what does your tsconfig.json look like?
I noticed my schemas were doing the same if either compilerOptions
contains "strict": true
or no strict property, or also if "strictNullChecks": false
was set.
what does your tsconfig.json look like? I noticed my schemas were doing the same if either
compilerOptions
contains"strict": true
or no strict property, or also if"strictNullChecks": false
was set.
ah, you'r right 👍 I didn't realize that sorry and thank you
deps: typescript@4.9.4 zod@3.23.8
code:
ps: the "parse" & "safeParse" method works well