File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,12 @@ interface ObjectConstructor {
298
298
*/
299
299
getOwnPropertySymbols ( o : any ) : symbol [ ] ;
300
300
301
+ /**
302
+ * Returns the names of the enumerable properties and methods of an object.
303
+ * @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.
304
+ */
305
+ keys ( o : { } ) : string [ ] ;
306
+
301
307
/**
302
308
* Returns true if the values are the same value, false otherwise.
303
309
* @param value1 The first value.
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ interface ObjectConstructor {
238
238
* Returns the names of the enumerable properties and methods of an object.
239
239
* @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.
240
240
*/
241
- keys ( o : { } ) : string [ ] ;
241
+ keys ( o : object ) : string [ ] ;
242
242
}
243
243
244
244
/**
You can’t perform that action at this time.
0 commit comments