Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

KnownKeys

KnownKeys<O>: { [K in keyof O]: string extends K ? never : number extends K ? never : K} extends { [K in keyof O]: infer U} ? U & Keys<O> : never

Get the known keys of an Object

Type parameters

  • O: object

returns

Key

example


  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.