@types/is-data-descriptor
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/is-data-descriptor

Summary

This package contains type definitions for is-data-descriptor (https://github.com/jonschlinkert/is-data-descriptor).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-data-descriptor.

index.d.ts

declare function isDataDesc(obj: unknown): obj is PropertyDescriptor;
declare function isDataDesc<ObjectType extends object>(obj: ObjectType, key: keyof ObjectType): boolean;

export = isDataDesc;

Additional Details

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

Credits

These definitions were written by Richie Bendall.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/is-data-descriptor

Weekly Downloads

6,446

Version

1.0.2

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • types