We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8f5ee commit 66d9b69Copy full SHA for 66d9b69
src/lib/es5.d.ts
@@ -210,6 +210,8 @@ interface ObjectConstructor {
210
* Returns the names of the enumerable properties and methods of an object.
211
* @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.
212
*/
213
+ keys<T>(o: Array<T>): string[];
214
+ keys<T extends { [key: string]: any }>(o: T): (keyof T & string)[];
215
keys(o: any): string[];
216
}
217
0 commit comments