colinhacks / zod

TypeScript-first schema validation with static type inference
https://zod.dev
MIT License
33.09k stars 1.15k forks source link

Update README.md #3705

Closed jubar closed 1 month ago

jubar commented 1 month ago

In the customize error path section, we should use !== instead of === comparison.

netlify[bot] commented 1 month ago

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
Latest commit c857e547586f9df57aab8dd8fbf56b9064928537
Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/66b9d70323df0c0008097369
Deploy Preview https://deploy-preview-3705--guileless-rolypoly-866f8a.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

colinhacks commented 1 month ago

It's correct as is - .refine() will throw an error when the result is falsy.