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 3aa198eCopy full SHA for 3aa198e
lib/lib.es2017.object.d.ts
@@ -42,4 +42,10 @@ interface ObjectConstructor {
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
*/
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 };
51
}
0 commit comments