From 499db0eb47e9609ffce9ef8f0cbfd261922dd991 Mon Sep 17 00:00:00 2001 From: Hristo Deshev Date: Mon, 29 Aug 2016 14:35:44 +0300 Subject: [PATCH] Remove global Object var declaration to avoid clashing with TS 2.0 TypeScript 2.0 now has its own Object typings. --- tns-core-modules/es6.d.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tns-core-modules/es6.d.ts b/tns-core-modules/es6.d.ts index 0eb51c3fe..4cb44dbe0 100644 --- a/tns-core-modules/es6.d.ts +++ b/tns-core-modules/es6.d.ts @@ -10,12 +10,3 @@ interface SymbolConstructor { } declare var Symbol: SymbolConstructor; - -interface ObjectConstructor { - assign(target: any, ...sources: any[]): any; - is(value1: any, value2: any): boolean; - setPrototypeOf(o: any, proto: any): any; - getOwnPropertySymbols(o: any): symbol[]; -} - -declare var Object: ObjectConstructor; \ No newline at end of file