vtils

Home > utils > omitStrict

omitStrict variable

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

Signature:

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