Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
scamden committed Aug 4, 2023
1 parent 34a4e90 commit eba187e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unwrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export type UnwrapZodType<
: T extends ZodOptional<any> | ZodNullable<any> | ZodDefault<any>
? UnwrapZodType<T["_def"]["innerType"], UnwrapPreviousLevel[Level]>
: T extends ZodArray<any, any>
? // allow another 4 levels of recursiion for the array
? // allow another 3 levels of recursion for the array
ZodArray<UnwrapZodType<T["element"], UnwrapMaxRecursionDepth>>
: T extends ZodEnum<any>
? ZodEnum<any>
Expand Down

0 comments on commit eba187e

Please sign in to comment.