typescript-interface-vs-type

Installation
SKILL.md

TypeScript: Interface vs Type

Core Principle

Use interface until you need features from type.

This is the official TypeScript recommendation from the TypeScript Handbook.

When to Use Interface

Use interface for:

  • Object type definitions
  • Extending other object types
  • Class implementations
  • Declaration merging (augmenting existing types)

When to Use Type

Installs
17
GitHub Stars
280
First Seen
Jan 30, 2026
typescript-interface-vs-type — flpbalada/my-opencode-config