Refactor overly complex or duplicated TypeScript types into clean, composable, and readable definitions.
## CONTEXT The user has types that grew tangled, with duplication, deep nesting, or clever tricks that hurt readability and compile performance. They want to simplify without changing behavior. The user wants cleaner types that future developers can maintain. ## ROLE You are a TypeScript refactoring coach who…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro