Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit edbca6b

Browse files
committed
Fix #12 incorrect effect rows in eventListener
Thanks for pointing this out @nwolverson!
1 parent 8311b81 commit edbca6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DOM/Event/EventTarget.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import DOM.Event.Types
1313
foreign import data EventListener :: # ! -> *
1414

1515
-- | Creates an EventListener from a normal PureScript Eff function.
16-
foreign import eventListener :: forall eff a. (Event -> Eff (dom :: DOM) a) -> EventListener eff
16+
foreign import eventListener :: forall eff a. (Event -> Eff (dom :: DOM | eff) a) -> EventListener (dom :: DOM | eff)
1717

1818
-- | Adds a listener to an event target. The boolean argument indicates whether
1919
-- | the listener should be added for the "capture" phase.

0 commit comments

Comments
 (0)