This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { ImplStatic, trait } from "@thilawyn/traitify-ts"
|
||||
import { Class, HasRequiredKeys } from "type-fest"
|
||||
import { AbstractClass, Class, HasRequiredKeys } from "type-fest"
|
||||
import { z } from "zod"
|
||||
import { StaticMembers, parseZodSchemaEffect, stripZodObjectDefaults } from "../util"
|
||||
|
||||
@@ -83,6 +83,15 @@ export const ZodSchemaObject = <
|
||||
params,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
static extend<
|
||||
Self extends AbstractClass<ZodSchemaObject> & ImplStatic<typeof ZodSchemaObject>
|
||||
>(
|
||||
this: Self
|
||||
) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return ZodSchemaObject as Class<ZodSchemaObject & Values> & StaticMembers<typeof ZodSchemaObject>
|
||||
|
||||
Reference in New Issue
Block a user