• Version 1.1.5
  • Published
  • 4.21 kB
  • No dependencies
  • MIT license


npm i @types/define-properties
yarn add @types/define-properties
pnpm add @types/define-properties


TypeScript definitions for define-properties



variable supportsDescriptors

const supportsDescriptors: boolean;
  • Whether the current environment correctly supports property descriptors.


function defineProperties

defineProperties: typeof defineProperties;
  • Defines new properties in map as non-enumerable if they don't already exist on object.

    Parameter object

    The object to define non-enumerable properties on.

    Parameter map

    The map of newly defined properties.

    Parameter predicates

    The optional predicates map, return true to override existing properties on object.

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/define-properties.

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