Add eslint
This commit is contained in:
parent
3cd2062ebf
commit
d32ee5ac36
10 changed files with 585 additions and 85 deletions
|
|
@ -2,5 +2,4 @@
|
|||
import R from "ramda";
|
||||
|
||||
export const keyOf = <a,b> (map: Map<b,a>, value: a) : ?b =>
|
||||
((keys) => keys[R.findIndex(k => map[k] == value, keys)])
|
||||
(R.keys(map));
|
||||
((keys) => keys[R.findIndex(k => map[k] == value, keys)])(R.keys(map));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue