UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

27 lines (26 loc) 1.27 kB
export declare class ObjectUtils { /** * Copy the values of all of the enumerable own properties from one or more source objects to a * target object. * @param target The target object to copy to. * @param source The source object from which to copy properties. */ static assign<T, U>(target: T, source: U): void; /** * Copy the values of all of the enumerable own properties from one or more source objects to a * target object. * @param target The target object to copy to. * @param source1 The first source object from which to copy properties. * @param source2 The second source object from which to copy properties. */ static assign<T, U, V>(target: T, source1: U, source2: V): void; /** * Copy the values of all of the enumerable own properties from one or more source objects to a * target object. * @param target The target object to copy to. * @param source1 The first source object from which to copy properties. * @param source2 The second source object from which to copy properties. * @param source3 The third source object from which to copy properties. */ static assign<T, U, V, W>(target: T, source1: U, source2: V, source3: W): void; }