diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 81ce8cde36..ab132df060 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -1227,9 +1227,9 @@ declare namespace R { * If the given, non-null object has a value at the given path, returns the value at that path. * Otherwise returns the provided default value. */ - pathOr(d: T, p: Path, obj: any): any; - pathOr(d: T, p: Path): (obj: any) => any; - pathOr(d: T): CurriedFunction2; + pathOr(defaultValue: T, path: Path, obj: any): any; + pathOr(defaultValue: T, path: Path): (obj: any) => any; + pathOr(defaultValue: T): CurriedFunction2; /** * Returns true if the specified object property at given path satisfies the given predicate; false otherwise.