Skip to main content
Module

x/typeorm/src/util/ObjectUtils.ts>ObjectUtils

Forked from https://github.com/typeorm/typeorm
Latest
class ObjectUtils
import { ObjectUtils } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/util/ObjectUtils.ts";

Static Methods

assign<T, U>(target: T, source: U): T & U

Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

assign<T, U, V>(
target: T,
source1: U,
source2: V,
): T & U & V

Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.

assign<T, U, V, W>(
target: T,
source1: U,
source2: V,
source3: W,
):
& T
& U
& V
& W

Copy the values of all of the enumerable own properties from one or more source objects to a target object. Returns the target object.