Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Unionize

Unionize<O, O1, K>: { [P in keyof O]: P extends K ? O[P] | At<O1, P> : O[P]} & object

Make the fields of O union the ones of O1

Type parameters

  • O: object

    to union from

  • O1: object

    to union with

  • K: Key

    (?=Key) to chose fields

returns

Object

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.