Inferring generic types
Hi, I'm new to ArkType and have little knowledge about TypeScript generic.
I wish I had something like below:
Currently I've manually define the type to match the schema.
What am I missing, or is there any workaround?
Thanks in advance.
I wish I had something like below:
Currently I've manually define the type to match the schema.
What am I missing, or is there any workaround?
Thanks in advance.