Traitify API update
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Julien Valverdé
2024-02-20 00:55:21 +01:00
parent 880d77019d
commit 3bf22f1f49
3 changed files with 15 additions and 21 deletions

View File

@@ -1,12 +1,10 @@
import { abstract, trait } from "@thilawyn/traitify-ts"
import { trait } from "@thilawyn/traitify-ts"
export const ObservableZodSchemaObject = trait(
abstract(),
Super => class ObservableZodSchemaObject extends Super {
export const ObservableZodSchemaObject = trait
.implement(Super => class ObservableZodSchemaObject extends Super {
constructor(...args: any[]) {
super(...args)
}
},
)
})
.build()