diff --git a/deno/lib/types.ts b/deno/lib/types.ts index acf219487..f19ef7570 100644 --- a/deno/lib/types.ts +++ b/deno/lib/types.ts @@ -4143,7 +4143,7 @@ export interface ZodCatchDef< export class ZodCatch extends ZodType< T["_output"], ZodCatchDef, - T["_input"] + unknown // any input will pass validation // T["_input"] > { _parse(input: ParseInput): ParseReturnType { const { ctx } = this._processInputParams(input); diff --git a/src/types.ts b/src/types.ts index 30a93488a..8c23b5e6a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -4143,7 +4143,7 @@ export interface ZodCatchDef< export class ZodCatch extends ZodType< T["_output"], ZodCatchDef, - T["_input"] + unknown // any input will pass validation // T["_input"] > { _parse(input: ParseInput): ParseReturnType { const { ctx } = this._processInputParams(input);