JSPM

@types/object.pick

1.3.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 160974
  • Score
    100M100P100Q166490F
  • License MIT

TypeScript definitions for object.pick

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/object.pick) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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..