export interface Assign { (a: T): T; (a: T1, b: T2): T1 & T2; (a: T1, b: T2, c: T3): T1 & T2 & T3; (...args: T[]): T; } /** * Create a new object/array with the own properties of the first entry merged with * the own properties of the others objects. If a key exists in several objects, * the value from the last object will be used. * * **Note** if first argument is array then result of function is array, * otherwise it is an object. * * @param sources * @example * * assign({a:1}, {b:2}) // => {a:1, b:2} * assign([1,2,3], [4,5]) // => [4,5,3] */ declare const _default: Assign; export default _default;