Type Playground

Edit endpoint contracts and client calls in the browser.

A real TypeScript compiler runs in your browser against a miniature of the generated endpoint types. Pick an example, then edit either file — the diagnostics below update as you type.

A response schema is declared, the handler satisfies it, and the client reads only declared fields. Edit either file — the check reruns as you type.

Server contract
Client call
TypeScript diagnosticsGenerated from the server endpoint type

Loading TypeScript...