Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: https://git.jvalver.de/Thilawyn/zod-schema-class/pulls/3
This commit was merged in pull request #3.
This commit is contained in:
16
src/traits/ExtendableZodSchemaObject.ts
Normal file
16
src/traits/ExtendableZodSchemaObject.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
// import { trait } from "@thilawyn/traitify-ts"
|
||||
// import { ZodSchemaClassExtender } from "../builders/ZodSchemaClassExtender"
|
||||
// import { ZodSchemaClass } from "../shapes/ZodSchemaClass"
|
||||
|
||||
|
||||
// export const ExtendableZodSchemaObject = trait
|
||||
// .implement(Super => class ExtendableZodSchemaObject extends Super {
|
||||
// static extend<
|
||||
// Self extends ZodSchemaClass<any, any, any, any, any, any, any, any, any>,
|
||||
// >(
|
||||
// this: Self
|
||||
// ) {
|
||||
// return new ZodSchemaClassExtender(this, this)
|
||||
// }
|
||||
// })
|
||||
// .build()
|
||||
Reference in New Issue
Block a user