Skip to content

Commit 11f861b

Browse files
authored
Merge pull request #4 from purescript-contrib/exception-label
Fix the label name for the EXCEPTION effect
2 parents f400444 + ae7bfef commit 11f861b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/JSDate.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ toDateString :: JSDate -> String
202202
toDateString dt = runFn2 dateMethod "toDateString" dt
203203

204204
-- | Converts a date value to an ISO 8601 Extended format date string.
205-
toISOString :: forall eff. JSDate -> Eff (exception :: EXCEPTION | eff) String
205+
toISOString :: forall eff. JSDate -> Eff (err :: EXCEPTION | eff) String
206206
toISOString dt = runFn2 dateMethodEff "toISOString" dt
207207

208208
-- | Returns a string representing for a date value.

0 commit comments

Comments
 (0)