mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06:00
* Add es2017.Object library file * Add tests and baselines * Fix unittest * Add es2017 lib flag * Update baselines * Add tests and baselines * Address PR: add tests * Address PR: add tests
14 lines
710 B
TypeScript
14 lines
710 B
TypeScript
interface ObjectConstructor {
|
|
/**
|
|
* Returns an array of values of the enumerable properties of an object
|
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
*/
|
|
values<T>(o: { [s: string]: T }): T[];
|
|
values(o: any): any[];
|
|
/**
|
|
* Returns an array of key/values of the enumerable properties of an object
|
|
* @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
|
|
*/
|
|
entries<T>(o: { [s: string]: T }): [string, T][];
|
|
entries(o: any): [string, any][];
|
|
} |