0.1.2 #3
@@ -1,10 +1,14 @@
|
||||
import { trait } from "@thilawyn/traitify-ts"
|
||||
import { expression } from "@thilawyn/traitify-ts"
|
||||
import { InstantiableZodSchemaObject } from "./InstantiableZodSchemaObject"
|
||||
|
||||
|
||||
export const ObservableZodSchemaObject = trait
|
||||
.implement(Super => class ObservableZodSchemaObject extends Super {
|
||||
constructor(...args: any[]) {
|
||||
super(...args)
|
||||
}
|
||||
})
|
||||
export const ObservableZodSchemaObject = expression
|
||||
.expresses(InstantiableZodSchemaObject)
|
||||
.build()
|
||||
.subtrait()
|
||||
.implement(Super => class ObservableZodSchemaObject extends Super {
|
||||
constructor(...args: any[]) {
|
||||
super(...args)
|
||||
}
|
||||
})
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user