assignWithNonEnumerableProperties
Assigns properties from one or more source objects to a target object, including non-enumerable properties.
Import:
import { assignWithNonEnumerableProperties } from 'obsidian-dev-utils/object-utils';Signature:
function assignWithNonEnumerableProperties(target: object, sources: object[]): objectParameters:
| Parameter | Type | Description |
|---|---|---|
target | object | The target object to assign properties to. |
sources | object[] | The source objects to assign properties from. |
Returns: object — The target object with the assigned properties.