This commit is contained in:
@@ -12,8 +12,8 @@ export const ExtendableZodSchemaObject = <
|
||||
schemaWithDefaults: z.ZodObject<T, "strip", Catchall, Values, PartialValues>,
|
||||
) => expression
|
||||
.expresses(ZodSchemaObject(schemaWithDefaults))
|
||||
.buildAnyway()
|
||||
.build()
|
||||
.subtrait()
|
||||
.implement(Super => class ExtendableZodSchemaObject extends Super {
|
||||
.implement(Super => class ExtendableZodSchemaObjectImpl extends Super {
|
||||
})
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user