Skip to content
CSCosmos
TSViz
Concepts
Problems
Playground
GitHub
Toggle theme
Problems
Hard
infer usage
Zod-style infer
Given a Schema<T> type with a _type field, write an Infer<T> helper that extracts it using infer.
Show hints
Show solution
Solution
Reset
Run
Loading...
Run your code to see output and diagnostics.