Skip to content

Commit

Permalink
Fixed ZodOptional export in ZodFirstClassTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McDonnell committed Mar 25, 2021
1 parent eab823e commit 773e10c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion deno/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@ export type ZodFirstPartySchemaTypes =
| ZodEnum<any>
| ZodEffects<any>
| ZodNativeEnum<any>
| ZodOptional<any>
| ZodOptional<any, any>
| ZodNullable<any>
| ZodPromise<any>;

Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@ export type ZodFirstPartySchemaTypes =
| ZodEnum<any>
| ZodEffects<any>
| ZodNativeEnum<any>
| ZodOptional<any>
| ZodOptional<any, any>
| ZodNullable<any>
| ZodPromise<any>;

Expand Down

0 comments on commit 773e10c

Please sign in to comment.