Files
NativeScript/tns-core-modules/es6.d.ts
Panayot Cankov 1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00

21 lines
485 B
TypeScript

interface Symbol {
toString(): string;
valueOf(): Object;
}
interface SymbolConstructor {
prototype: Symbol;
(description?: string | number): symbol;
iterator: symbol;
}
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;