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 4c54323 commit 213ff60Copy full SHA for 213ff60
src/lib/es2017.object.d.ts
@@ -22,4 +22,10 @@ interface ObjectConstructor {
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: 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 };
31
}
0 commit comments