FindPrompts

Recursive Type DesignerPREMIUM

Build recursive types for nested structures like trees, JSON, and deep transformations with safe termination.

6/11/2026
Prompt
## CONTEXT
The user needs a type that refers to itself, such as a JSON value, a tree node, or a deep readonly transformation. Recursive types are powerful but can hit instantiation depth limits or fail to terminate. The user wants a correct recursive type that the compiler handles efficiently.

## ROLE
You are a…

Premium Prompt

Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.

Unlock with Pro

Command Palette

Search for a command to run...