ZodSchemaClassBuilder work
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -48,8 +48,8 @@ extends TraitExpressionBuilder<Superclass, Traits> {
|
||||
}
|
||||
}
|
||||
|
||||
return this
|
||||
.extends(Schemas as unknown as (
|
||||
return new ZodSchemaClassBuilder(
|
||||
Schemas as unknown as (
|
||||
AbstractClass<
|
||||
InstanceType<Superclass> &
|
||||
Simplify<
|
||||
@@ -64,11 +64,14 @@ extends TraitExpressionBuilder<Superclass, Traits> {
|
||||
StaticMembers<typeof Schemas>,
|
||||
]>
|
||||
>
|
||||
))
|
||||
.expresses(
|
||||
),
|
||||
|
||||
[
|
||||
...this.expressionTraits,
|
||||
InstantiableZodSchemaObject,
|
||||
ExtendableZodSchemaObject,
|
||||
)
|
||||
],
|
||||
)
|
||||
}
|
||||
|
||||
jsonifiable() {
|
||||
|
||||
Reference in New Issue
Block a user