Files
NativeScript/tns-core-modules/es6.d.ts
Hristo Hristov fc0048c4a1 dependency-observable changes (#2584)
* Improved es6.d.ts
Small perf improvement in resetValues

* Fix tslint errors

* Removed all comments from es6.d.ts (TSLint hell)
2016-08-15 15:14:03 +03:00

20 lines
463 B
TypeScript

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