5 Matching Annotations
  1. Nov 2021
  2. Aug 2021
    1. keyof is a keyword in TypeScript which accepts a given object type and returns a union type of its keys. These are equivalent: type StatusKey = keyof { online: string; offline: string; busy: string; dnd: string; } type StatusKey = 'online' | 'offline' | 'busy' | 'dnd'
  3. Oct 2019
  4. Aug 2019