A pretty well typed function to get object property descriptors. `Object.getOwnPropertyDescriptors` polyfill.