File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -42,4 +42,10 @@ interface ObjectConstructor {
42
42
* @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.
43
43
*/
44
44
entries ( o : any ) : [ string , any ] [ ] ;
45
+
46
+ /**
47
+ * Returns an object containing all own property descriptors of an object
48
+ * @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.
49
+ */
50
+ getOwnPropertyDescriptors < T > ( o : T ) : { [ P in keyof T ] : TypedPropertyDescriptor < T [ P ] > } & { [ x : string ] : PropertyDescriptor } ;
45
51
}
Original file line number Diff line number Diff line change @@ -22,4 +22,10 @@ interface ObjectConstructor {
22
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
23
*/
24
24
entries ( o : any ) : [ 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 } ;
25
31
}
You can’t perform that action at this time.
0 commit comments