Made ObservableZodSchemaObject into a subtrait
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:
@@ -1,7 +1,11 @@
|
|||||||
import { trait } from "@thilawyn/traitify-ts"
|
import { expression } from "@thilawyn/traitify-ts"
|
||||||
|
import { InstantiableZodSchemaObject } from "./InstantiableZodSchemaObject"
|
||||||
|
|
||||||
|
|
||||||
export const ObservableZodSchemaObject = trait
|
export const ObservableZodSchemaObject = expression
|
||||||
|
.expresses(InstantiableZodSchemaObject)
|
||||||
|
.build()
|
||||||
|
.subtrait()
|
||||||
.implement(Super => class ObservableZodSchemaObject extends Super {
|
.implement(Super => class ObservableZodSchemaObject extends Super {
|
||||||
constructor(...args: any[]) {
|
constructor(...args: any[]) {
|
||||||
super(...args)
|
super(...args)
|
||||||
|
|||||||
Reference in New Issue
Block a user