2023-01-03 18:51:35 +00:00
|
|
|
type Predicate = ((source: any) => boolean) | boolean;
|
2023-01-03 19:31:53 +00:00
|
|
|
export interface IfElse {
|
2023-01-03 18:51:35 +00:00
|
|
|
(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
|