Skip to content

Commit 3aa198e

Browse files
authored
1 parent 4c54323 commit 3aa198e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/lib.es2017.object.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,10 @@ interface ObjectConstructor {
4242
* @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.
4343
*/
4444
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 };
4551
}

0 commit comments

Comments
 (0)