diff --git a/index.d.ts b/index.d.ts index 221c309..542545e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2199,7 +2199,7 @@ declare namespace R { * Creates a function that will process either the onTrue or the onFalse function depending upon the result * of the condition predicate. */ - ifElse(fn: Pred, onTrue: (v: T) => U, onFalse: (v: T) => V): (v: T) => U|V; + ifElse(fn: (...k: any[]) => boolean, onTrue: (...v: any[]) => U, onFalse: (...v: any[]) => V): (...v: any[]) => U|V; // ifElse: CurriedFunction3, (v: T) => U, (v: T) => V, (v: T) => U|V>;