Skip to content

Commit 59aa29b

Browse files
tarasmhegazy
authored andcommitted
Added only the source file (#18175)
1 parent 193f4be commit 59aa29b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib/es2017.object.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,10 @@ interface ObjectConstructor {
2222
* @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.
2323
*/
2424
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 };
2531
}

0 commit comments

Comments
 (0)