• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1interface ObjectConstructor {
2    /**
3     * Returns an array of values of the enumerable properties of an object
4     * @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.
5     */
6    values<T>(o: { [s: string]: T } | ArrayLike<T>): T[];
7
8    /**
9     * Returns an array of values of the enumerable properties of an object
10     * @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.
11     */
12    values(o: {}): any[];
13
14    /**
15     * Returns an array of key/values of the enumerable properties of an object
16     * @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.
17     */
18    entries<T>(o: { [s: string]: T } | ArrayLike<T>): [string, T][];
19
20    /**
21     * Returns an array of key/values of the enumerable properties of an object
22     * @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.
23     */
24    entries(o: {}): [string, any][];
25
26    /**
27     * Returns an object containing all own property descriptors of an object
28     * @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.
29     */
30    getOwnPropertyDescriptors<T>(o: T): {[P in keyof T]: TypedPropertyDescriptor<T[P]>} & { [x: string]: PropertyDescriptor };
31}
32