@newdash/newdash
Version:
javascript/typescript utility library
12 lines (11 loc) • 348 B
TypeScript
export default basePick;
/**
* The base implementation of `pick` without support for individual
* property identifiers.
*
* @private
* @param {Object} object The source object.
* @param {string[]} paths The property paths to pick.
* @returns {Object} Returns the new object.
*/
declare function basePick(object: any, paths: string[]): any;