Add eslint

This commit is contained in:
uwap 2017-11-06 11:53:07 +01:00
parent 3cd2062ebf
commit d32ee5ac36
10 changed files with 585 additions and 85 deletions

View file

@ -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));