UNPKG

express-ts-skeleton

Version:

This is a skeleton(boiler plate) for nodejs, express and typescript.

8 lines (7 loc) 336 B
/** * Creates an object composed of the specified keys from the given object. * @param {object} object - The source object. * @param {string[]} keys - An array of keys to pick from the source object. * @returns {object} A new object with only the specified keys. */ export declare const pick: (object: any, keys: any[]) => object;