Skip to content

Commit 36f332f

Browse files
authored
fix(types): fix types for ramda 0.29.0 breaking changes (#3100)
1 parent d4a035d commit 36f332f

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

types/index.d.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -998,35 +998,35 @@ export function lensTraverse(of: Function): Function;
998998
* in R.equals terms, to the given value; false otherwise.
999999
*/
10001000
export function propNotEq(
1001-
prop: string | number,
10021001
value: any,
1002+
prop: string | number,
10031003
obj: object
10041004
): boolean;
10051005
export function propNotEq(
1006-
prop: string | number,
1007-
value: any
1006+
value: any,
1007+
prop: string | number
10081008
): (obj: object) => boolean;
1009-
export function propNotEq(prop: string | number): {
1010-
(value: any, obj: object): boolean;
1011-
(value: any): (obj: object) => boolean;
1009+
export function propNotEq(value: any): {
1010+
(prop: string | number, obj: object): boolean;
1011+
(prop: string | number): (obj: object) => boolean;
10121012
};
10131013

10141014
/**
10151015
* Determines whether a nested path on an object doesn't have a specific value,
10161016
* in R.equals terms. Most likely used to filter a list.
10171017
*/
10181018
export function pathNotEq(
1019-
path: Array<string | number>,
10201019
value: any,
1020+
path: Array<string | number>,
10211021
obj: object
10221022
): boolean;
10231023
export function pathNotEq(
1024-
path: Array<string | number>,
1025-
value: any
1024+
value: any,
1025+
path: Array<string | number>
10261026
): (obj: object) => boolean;
1027-
export function pathNotEq(path: Array<string | number>): {
1028-
(value: any, obj: object): boolean;
1029-
(value: any): (obj: object) => boolean;
1027+
export function pathNotEq(value: any): {
1028+
(path: Array<string | number>, obj: object): boolean;
1029+
(path: Array<string | number>): (obj: object) => boolean;
10301030
};
10311031

10321032
/**

0 commit comments

Comments
 (0)