1 | import polyfill = require("./implementation");
|
2 | import getImpl = require("./polyfill");
|
3 | import shimImpl = require("./shim");
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | declare function getOwnPropertyDescriptors<T>(
|
10 | o: T,
|
11 | ):
|
12 | & {
|
13 | -readonly [P in keyof T]: TypedPropertyDescriptor<T[P]>;
|
14 | }
|
15 | & {
|
16 | [property: string]: PropertyDescriptor;
|
17 | };
|
18 |
|
19 | declare namespace getOwnPropertyDescriptors {
|
20 | function getPolyfill(): ReturnType<typeof getImpl>;
|
21 | const implementation: typeof polyfill;
|
22 | function shim(): ReturnType<typeof shimImpl>;
|
23 | }
|
24 |
|
25 | export = getOwnPropertyDescriptors;
|