Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 626 Bytes

File metadata and controls

25 lines (21 loc) · 626 Bytes

Things to add

  • classes
  • Omit, Partial, Pick, Required, Record (object-based utility types)
  • ReadonlyArray

Things NOT to add

These things are out-of-scope, or will be included in other modules

  • limits of typeof narrowing (unknown and object)
  • Type predicates
  • Using external libraries and @types
  • discriminated unions
    • narrowing on discriminated unions
  • Template literals
  • Branded types
  • Readonly properties on objects
  • Index signatures
  • keyof
  • Readonly, Exclude, Extract (union-based or readonly-based utility types)
  • let vs const vs as const
  • Function overloads
  • typeof
  • Generics in functions