updeep-remeda/types/omitBy.d.ts
2019-01-18 19:51:59 -05:00

8 lines
422 B
TypeScript

export declare function omitBy<C extends object, P extends (...args: any[]) => boolean>(predicate: P, collection: C): object;
interface CurriedOmitBy {
<C extends object, P extends (...args: any[]) => boolean>(predicate: P, collection: C): object;
<C extends object, P extends (...args: any[]) => boolean>(predicate: P): (collection: C) => object;
}
declare const _default: CurriedOmitBy;
export default _default;