Skip to content

Instantly share code, notes, and snippets.

@iskenxan
Created January 17, 2022 14:33
Show Gist options
  • Save iskenxan/cddc9d474ffe4645c97b178ea1bc7a68 to your computer and use it in GitHub Desktop.
Save iskenxan/cddc9d474ffe4645c97b178ea1bc7a68 to your computer and use it in GitHub Desktop.
Typescript schema validation with zod
[
{
"code": "invalid_type",
"expected": "number",
"received": "undefined",
"path": [
"phoneNumber"
],
"message": "Required"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment