Skip to content

Commit aedf93f

Browse files
committed
Revert change to default Input
1 parent 157b18d commit aedf93f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deno/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export type SafeParseReturnType<Input, Output> =
168168
export abstract class ZodType<
169169
Output = any,
170170
Def extends ZodTypeDef = ZodTypeDef,
171-
Input = any
171+
Input = Output
172172
> {
173173
readonly _type!: Output;
174174
readonly _output!: Output;

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export type SafeParseReturnType<Input, Output> =
168168
export abstract class ZodType<
169169
Output = any,
170170
Def extends ZodTypeDef = ZodTypeDef,
171-
Input = any
171+
Input = Output
172172
> {
173173
readonly _type!: Output;
174174
readonly _output!: Output;

0 commit comments

Comments
 (0)