Are you recommending to create first ArkType types and derive from their TS types or vice versa?
Are you recommending to create first ArkType types and derive from their TS types or vice versa?
1 Reply
Ideally TS should be inferred from ArkType like this:
If you need to do the reverse, there are ways but it's not ideal since it involves duplication. Usually you'd want that if you have to adhere to an external set of TS types you don't have control over.