DefinitelyTyped/types/pick-deep/index.d.ts
Elliott Campbell d8907f303d Add [pick-deep] type declarations (#38041)
* [pick-deep] Added types for strikeentco's pick-deep

* [pick-deep] fixed common mistake array -> ReadonlyArray
2019-09-05 18:06:20 -07:00

10 lines
471 B
TypeScript

// Type definitions for pick-deep 1.0
// Project: https://github.com/strikeentco/pick-deep#readme
// Definitions by: Elliott Campbell <https://github.com/ElliottCampbellJHA>
// Eric Heikes <https://github.com/eheikes>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
declare function pick(obj: object, paths: string | ReadonlyArray<string | ReadonlyArray<string>>, separator?: string): object;
export = pick;