fundamentals

SKILL.md

TypeScript Fundamentals Skill

Overview

Master TypeScript's type system fundamentals including basic types, interfaces, and type annotations.

Topics Covered

Basic Types

  • Primitive types (string, number, boolean)
  • Arrays and tuples
  • Enums
  • Any, unknown, never, void
  • Null and undefined handling

Type Annotations

  • Variable annotations
  • Function parameters and returns
  • Object type annotations
  • Type inference
  • Type assertions

Interfaces

  • Interface declaration
  • Optional properties
  • Readonly properties
  • Index signatures
  • Interface extension

Type Aliases

  • Type alias syntax
  • Union types
  • Intersection types
  • Literal types
  • Type narrowing

Functions

  • Function type expressions
  • Call signatures
  • Overloads
  • Generic functions
  • Rest parameters

Prerequisites

  • JavaScript fundamentals
  • ES6+ features

Learning Outcomes

  • Write type-safe code
  • Use interfaces effectively
  • Apply type narrowing
  • Understand type inference
Weekly Installs
4
GitHub Stars
1
First Seen
Jan 29, 2026
Installed on
windsurf3
gemini-cli3
antigravity3
github-copilot3
opencode3
codex3