Skip to content

Commit bd98b0d

Browse files
committed
changing param type for spec in whereEq function
1 parent 176b2b0 commit bd98b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

whereEq.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import where from "./where.ts"
44
import map from "./map.ts"
55
import curry from './curry.ts'
66

7-
function whereEq(spec: Obj, testObj: ObjRec) {
7+
function whereEq(spec: ObjRec, testObj: ObjRec) {
88
const equals = curry(2, (x: number, y: number) => x === y)
99
return where(map(equals, spec), testObj)
1010
}

0 commit comments

Comments
 (0)