updeep-remeda/commonjs/ifElse.d.ts
2023-01-03 13:51:35 -05:00

8 lines
348 B
TypeScript

type Predicate = ((source: any) => boolean) | boolean;
interface IfElse {
(object: any, predicate: Predicate, trueUpdates: any, falseUpdates: any): unknown;
(predicate: Predicate, trueUpdates: any, falseUpdates: any): (unknown: any) => unknown;
}
declare const _default: IfElse;
export default _default;
//# sourceMappingURL=ifElse.d.ts.map