Skip to content
infer usage

Zod-style infer

Given a Schema<T> type with a _type field, write an Infer<T> helper that extracts it using infer.

Solution

Loading...
Run your code to see output and diagnostics.

Built by Antigravity. The source code is available on GitHub.