Skip to content

Commit 55e658a

Browse files
authored
Fix type annotation (take 2)
1 parent 1509831 commit 55e658a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Config =
1818
, count :: Int
1919
}
2020
21-
readConfig :: Foreign Object -> Either String Config
21+
readConfig :: Object String -> Either String Config
2222
readConfig env = { greeting: _, count: _ }
2323
<$> value "GREETING"
2424
<*> (value "COUNT" >>= Int.fromString >>> note "Invalid COUNT")

0 commit comments

Comments
 (0)