Schema fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Julien Valverdé
2024-03-17 13:03:16 +01:00
parent 2a23259b3e
commit 9f7b7f8b42

View File

@@ -20,7 +20,7 @@ export const ZodSchemaObject = <
schemaWithDefaults: z.ZodObject<T, "strip", Catchall, Values, PartialValues>, schemaWithDefaults: z.ZodObject<T, "strip", Catchall, Values, PartialValues>,
) => trait ) => trait
.implement(Super => class ZodSchemaObjectImpl extends Super { .implement(Super => class ZodSchemaObjectImpl extends Super {
static readonly schema = stripZodObjectDefaults(schemaWithDefaults) static readonly schema = stripZodObjectDefaults<T, "strip", Catchall, Values, PartialValues>(schemaWithDefaults)
static readonly schemaWithDefaults = schemaWithDefaults static readonly schemaWithDefaults = schemaWithDefaults
static transform< static transform<