@types/gopd
TypeScript definitions for gopd
Last updated 3 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/gopd 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/gopd

Summary

This package contains type definitions for gopd (https://github.com/ljharb/gopd#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gopd.

index.d.ts

/**
 * Gets the own property descriptor of the specified object.
 * An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
 *
 * @param target Object that contains the property.
 * @param propertyKey Name of the property.
 */
declare const getOwnPropertyDescriptor:
    | (
        <T, P extends PropertyKey>(target: T, propertyKey: P) =>
            | (P extends keyof T ? TypedPropertyDescriptor<T[P]> : PropertyDescriptor)
            | undefined
    )
    | undefined
    | null;
export = getOwnPropertyDescriptor;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Jordan Harband.

Current Tags

  • 1.0.3                                ...           latest (2 years ago)
  • 1.0.0                                ...           ts4.1 (3 years ago)
  • 1.0.0                                ...           ts4.2 (3 years ago)
  • 1.0.0                                ...           ts4.3 (3 years ago)
  • 1.0.0                                ...           ts4.4 (3 years ago)
  • 1.0.3                                ...           ts4.5 (2 years ago)
  • 1.0.3                                ...           ts4.6 (2 years ago)
  • 1.0.3                                ...           ts4.7 (2 years ago)
  • 1.0.3                                ...           ts4.8 (2 years ago)
  • 1.0.3                                ...           ts4.9 (2 years ago)
  • 1.0.3                                ...           ts5.0 (2 years ago)
  • 1.0.3                                ...           ts5.1 (2 years ago)
  • 1.0.3                                ...           ts5.2 (2 years ago)
  • 1.0.3                                ...           ts5.3 (2 years ago)
  • 1.0.3                                ...           ts5.4 (2 years ago)
  • 1.0.3                                ...           ts5.5 (2 years ago)
  • 1.0.3                                ...           ts5.6 (2 years ago)
  • 1.0.3                                ...           ts5.7 (2 years ago)
  • 1.0.3                                ...           ts5.8 (2 years ago)
  • 1.0.3                                ...           ts5.9 (2 years ago)

4 Versions

  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 2
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |