mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
Remove global Object var declaration to avoid clashing with TS 2.0
TypeScript 2.0 now has its own Object typings.
This commit is contained in:
9
tns-core-modules/es6.d.ts
vendored
9
tns-core-modules/es6.d.ts
vendored
@ -10,12 +10,3 @@ interface SymbolConstructor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
declare var Symbol: 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;
|
|
Reference in New Issue
Block a user