@types/object.pick
TypeScript icon, indicating that this package has built-in type declarations

1.3.4 • Public • Published

Installation

npm install --save @types/object.pick

Summary

This package contains type definitions for object.pick (https://github.com/jonschlinkert/object.pick).

Details

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

index.d.ts

/**
 * Returns a filtered copy of an object with only the specified keys, similar to `_.pick` from lodash / underscore.
 *
 * @param object
 * @param keys
 */
declare function pick<T extends object, U extends keyof T>(object: T, keys: readonly U[]): Pick<T, U>;

export = pick;

Additional Details

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

Credits

These definitions were written by Ifiok Jr..

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.3.4
    191,537
  • 1.3.3
    17,452
  • 1.3.2
    308,869
  • 1.3.1
    2,383
  • 1.3.0
    261

Package Sidebar

Install

npm i @types/object.pick

Weekly Downloads

520,502

Version

1.3.4

License

MIT

Unpacked Size

3.1 kB

Total Files

5

Last publish

Collaborators

  • types