Skip to content

Commit

Permalink
Revert change to default Input
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Apr 23, 2024
1 parent 157b18d commit aedf93f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/lib/types.ts
Expand Up @@ -168,7 +168,7 @@ export type SafeParseReturnType<Input, Output> =
export abstract class ZodType<
Output = any,
Def extends ZodTypeDef = ZodTypeDef,
Input = any
Input = Output
> {
readonly _type!: Output;
readonly _output!: Output;
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Expand Up @@ -168,7 +168,7 @@ export type SafeParseReturnType<Input, Output> =
export abstract class ZodType<
Output = any,
Def extends ZodTypeDef = ZodTypeDef,
Input = any
Input = Output
> {
readonly _type!: Output;
readonly _output!: Output;
Expand Down

0 comments on commit aedf93f

Please sign in to comment.