diff --git a/lib/lib.es2017.object.d.ts b/lib/lib.es2017.object.d.ts index 2e4e673d060e5..bfe99a6373bea 100644 --- a/lib/lib.es2017.object.d.ts +++ b/lib/lib.es2017.object.d.ts @@ -42,4 +42,10 @@ interface ObjectConstructor { * @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. */ entries(o: any): [string, any][]; + + /** + * Returns an object containing all own property descriptors of an object + * @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. + */ + getOwnPropertyDescriptors(o: T): { [P in keyof T]: PropertyDescriptor }; }