Skip to content

Commit

Permalink
Change unknown -> any for ZodType defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Apr 22, 2024
1 parent 39a588a commit 59f4872
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deno/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ export type SafeParseReturnType<Input, Output> =
| SafeParseError<Input>;

export abstract class ZodType<
Output = unknown,
Output = any,
Def extends ZodTypeDef = ZodTypeDef,
Input = unknown
Input = any
> {
readonly _type!: Output;
readonly _output!: Output;
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ export type SafeParseReturnType<Input, Output> =
| SafeParseError<Input>;

export abstract class ZodType<
Output = unknown,
Output = any,
Def extends ZodTypeDef = ZodTypeDef,
Input = unknown
Input = any
> {
readonly _type!: Output;
readonly _output!: Output;
Expand Down

0 comments on commit 59f4872

Please sign in to comment.