typescript-interface-vs-type
Installation
SKILL.md
TypeScript: Interface vs Type
When to use
- Defining object shapes.
- Extending or composing types.
- Choosing between
interface,type, and intersections. - Reviewing TypeScript type style.
Goal
Use interface until type features are needed.
Prefer readable errors and compiler performance.