Skip to content

Commit

Permalink
Fixed switcher bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McDonnell committed Oct 20, 2020
1 parent 4074119 commit d30a9f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zod",
"version": "2.0.0-beta.14",
"version": "2.0.0-beta.15",
"description": "TypeScript-first schema declaration and validation library with static type inference",
"main": "./lib/src/index.js",
"types": "./lib/src/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/switcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export const visitor = (schema: z.ZodType<any, any>) => {
break;
case z.ZodTypes.nullable:
break;
case z.ZodTypes.map:
break;
default:
util.assertNever(def);
}
Expand Down

0 comments on commit d30a9f4

Please sign in to comment.