This commit is contained in:
@@ -82,26 +82,6 @@ export const ZodSchemaObject = <
|
||||
params,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
// static extend<
|
||||
// Self extends AbstractClass<ZodSchemaObject> & ImplStatic<typeof ZodSchemaObject>,
|
||||
|
||||
// ExtendedT extends z.ZodRawShape,
|
||||
// ExtendedCatchall extends z.ZodTypeAny,
|
||||
// ExtendedValues extends Values,
|
||||
// ExtendedPartialValues extends Partial<ExtendedValues>,
|
||||
// >(
|
||||
// this: Self,
|
||||
|
||||
// schemaWithDefaults: (
|
||||
// schemaWithDefaults: typeof this.schemaWithDefaults
|
||||
// ) => z.ZodObject<ExtendedT, "strip", ExtendedCatchall, ExtendedValues, ExtendedPartialValues>,
|
||||
// ) {
|
||||
// return expression
|
||||
// .extends(this)
|
||||
// .expresses(ZodSchemaObject(schemaWithDefaults(this.schemaWithDefaults)))
|
||||
// }
|
||||
})
|
||||
.build()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user