Type Utils
    Preparing search index...

    Function deepMerge

    • deepMerge runtime implementation.

      • arrays are concatenated (a.concat(b))
      • objects are merged recursively
      • otherwise b replaces a

      Note: runtime can't produce perfect typed guarantees, so we cast to Merge<A,B>.

      Type Parameters

      • A extends unknown
      • B extends unknown

      Parameters

      Returns Merge<A, B>