vtils

Home > utils > pickStrict

pickStrict variable

pick,不过采用了严格的类型定义。

Signature:

pickStrict: <T extends Record<any, any>, K extends keyof T>(object: T, ...paths: OneOrMore<K>[]) => Pick<T, K>