From bb7f9dbc412343b63a4211486d8bb28e5a0dbcbf Mon Sep 17 00:00:00 2001 From: Oskar Stucki Date: Fri, 10 Oct 2025 16:03:53 +0300 Subject: [PATCH] fix(zodv4): fixed properties generation for zodv4 --- src/zodv4/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zodv4/index.ts b/src/zodv4/index.ts index 38e1aabe..c0413047 100644 --- a/src/zodv4/index.ts +++ b/src/zodv4/index.ts @@ -49,7 +49,7 @@ export class ZodV4SchemaVisitor extends BaseSchemaVisitor { new DeclarationBlock({}) .asKind('type') .withName('Properties') - .withContent(['Required<{', ' [K in keyof T]: z.ZodType;', '}>'].join('\n')) + .withContent(['Required<{', ' [K in keyof T]: z.ZodType;', '}>'].join('\n')) .string, // Unfortunately, zod doesn’t provide non-null defined any schema. // This is a temporary hack until it is fixed.