arktypea
arktype11mo ago
Sealleci

How to properly infer the return type of a generic function returning ArkType schemas?

Sorry for bringing up another question about generic return types. However, I encountered this situation in project, and I really don't want to use the keyword as. Here's the link to the relevant example code: TS Playground
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
Was this page helpful?