• Version 2.1.4
  • Published
  • 4.55 kB
  • No dependencies
  • MIT license


npm i @types/object.getownpropertydescriptors
yarn add @types/object.getownpropertydescriptors
pnpm add @types/object.getownpropertydescriptors


TypeScript definitions for object.getownpropertydescriptors



variable implementation

const implementation: <T>(
o: T
) => { -readonly [P in keyof T]: TypedPropertyDescriptor<T[P]> } & {
[property: string]: PropertyDescriptor;


    function getOwnPropertyDescriptors

    getOwnPropertyDescriptors: typeof getOwnPropertyDescriptors;
    • Returns an object containing all own property descriptors of an object

      Parameter o

      Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

    function getPolyfill

    getPolyfill: () => ReturnType<typeof getImpl>;

      function shim

      shim: () => ReturnType<typeof shimImpl>;

        Package Files (1)

        Dependencies (0)

        No dependencies.

        Dev Dependencies (0)

        No dev dependencies.

        Peer Dependencies (0)

        No peer dependencies.


        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/object.getownpropertydescriptors.

        • Markdown
        • HTML
          <a href="https://www.jsdocs.io/package/@types/object.getownpropertydescriptors"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>