UNPKG

corde

Version:

A simple library for Discord bot tests

10 lines (9 loc) 311 B
/** * Pick some properties of a object * * @see https://www.typescriptlang.org/docs/handbook/utility-types.html#picktk * @param obj Object to get its properties * @param keys Properties that must be got * @internal */ export declare function pick<T, K extends keyof T>(obj: T, ...keys: K[]): Pick<T, K>;