From e4be16877474c67459a7a707bd728974920ce41b Mon Sep 17 00:00:00 2001 From: ExE Boss <3889017+ExE-Boss@users.noreply.github.com> Date: Mon, 6 Jan 2020 02:00:00 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20Add=C2=A0type=C2=A0information=20to?= =?UTF-8?q?=C2=A0`=5F=5Fassign(=E2=80=A6)`=20helper=C2=A0function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tslib.d.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tslib.d.ts b/tslib.d.ts index caed5d7..2a1ff3e 100644 --- a/tslib.d.ts +++ b/tslib.d.ts @@ -13,7 +13,18 @@ See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ export declare function __extends(d: Function, b: Function): void; -export declare function __assign(t: any, ...sources: any[]): any; + +/** + * Copy the values of all of the enumerable own properties from one or more source objects to a + * target object. Returns the target object. + * @param target The target object to copy to. + * @param sources One or more source objects from which to copy properties + */ +export declare function __assign(target: T, source: U): T & U; +export declare function __assign(target: T, source1: U, source2: V): T & U & V; +export declare function __assign(target: T, source1: U, source2: V, source3: W): T & U & V & W; +export declare function __assign(target: object, ...sources: any): any; + export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; export declare function __param(paramIndex: number, decorator: Function): Function;