updeep-remeda/commonjs/ifElse.d.ts

8 lines
348 B
TypeScript
Raw Normal View History

2023-01-03 18:51:35 +00:00
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