Skip to main content

PropertyUnion

Callable


  • Merge all passed item properties into the passed output, merging (and shallow copying) arrays if necessary.


    Parameters

    • output: ItemProperties

      The to be updated properties

    • rest...args: readonly ItemProperties[]

      The additional item properties to be merged into the output

    Returns ItemProperties

    • The passed output modified inplace