mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* Improved es6.d.ts Small perf improvement in resetValues * Fix tslint errors * Removed all comments from es6.d.ts (TSLint hell)
20 lines
463 B
TypeScript
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; |