Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Patch

Patch<L, L1, depth, ignore, fill>: Cast<Patch<L, L1, depth, ignore, fill>, List>

Complete the fields of L with the ones of L1. This is a version of Merge that does NOT handle optional fields, it only completes fields of O with the ones of O1 if they don't exist.

(⚠️ needs --strictNullChecks enabled)

Type parameters

  • L: List

    to complete

  • L1: List

    to copy from

  • depth: Depth

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

  • ignore: object

    (?=BuiltIn) types not to merge

  • fill: any

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

returns

List

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.