How to create a type from our own class, like z.instanceOf #838
Unanswered
Dhruv-Garg79
asked this question in
Q&A
Replies: 1 comment
-
@sinclairzx81 any idea about this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having my own data class, which I will like to use as a type
I want to use above class as type in my schema, like this.
Getting this TS error, when using InstanceType
is there a way to do this in TypeBox?
Beta Was this translation helpful? Give feedback.
All reactions