Made ObservableZodSchemaObject into a subtrait
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Julien Valverdé
2024-02-20 02:07:50 +01:00
parent ad197fe585
commit 021928da8c

View File

@@ -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)