Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Assign

Assign<O, Os, depth, ignore, fill>: O extends unknown ? Os extends unknown ? _Assign<O, Os, depth, ignore, fill> : never : never

Assign a list of Object into O with Merge. Merges from right to left, first items get overridden by the next ones (last-in overrides).

Type parameters

  • O: object

    to assign to

  • Os: List<object>

    to assign

  • depth: Depth

    (?='flat') 'deep' to do it deeply

  • ignore: object

    (?=BuiltIn) types not to merge

  • fill: any

    (?=undefined) types of O to be replaced with ones of O1

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.