Skip to main content

Types

  • Extends — Validates that a type extends (is assignable to) the given base type.
  • Implements — Validates that a type implements (has all fields of) the given base type.
  • ObjectKey — the most generic type of an object key in TypeScript.