TypeScript first - is possible or not? Can't remember :)
Hi folks!
I'm not an ArkType regular as I would wish to be, so I may ask the same questions sometimes. Sorry for this.
I wonder if it's possible to define TypeScript-first schema, and to pass the type as generic?
At first glance it works natively:
But it gives
never
-s in return:
So is there a way?3 Replies
TS Playground - An online editor for exploring TypeScript and JavaS...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
Yeah there is, but it is still not a finalized part of the API, so do keep in mind it might still change slightly:
Wow, I see David! Thanks!