diff --git a/src/types.ts b/src/types.ts index c60be474e2..49ad25fdb5 100644 --- a/src/types.ts +++ b/src/types.ts @@ -4832,7 +4832,7 @@ export interface ZodReadonlyDef export class ZodReadonly extends ZodType< MakeReadonly, ZodReadonlyDef, - T["_input"] + MakeReadonly > { _parse(input: ParseInput): ParseReturnType { const result = this._def.innerType._parse(input);