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

Commit

Permalink
Merge pull request #121 from houli/fix-setHref-type
Browse files Browse the repository at this point in the history
Fix type of setHref, returns Unit not String
  • Loading branch information
garyb authored Aug 29, 2017
2 parents 095b3a0 + 687d42f commit a3b4e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DOM/HTML/Location.purs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ foreign import hostname :: forall eff. Location -> Eff (dom :: DOM | eff) String
foreign import setHostname :: forall eff. String -> Location -> Eff (dom :: DOM | eff) Unit

foreign import href :: forall eff. Location -> Eff (dom :: DOM | eff) String
foreign import setHref :: forall eff. String -> Location -> Eff (dom :: DOM | eff) String
foreign import setHref :: forall eff. String -> Location -> Eff (dom :: DOM | eff) Unit

foreign import origin :: forall eff. Location -> Eff (dom :: DOM | eff) String
foreign import setOrigin :: forall eff. String -> Location -> Eff (dom :: DOM | eff) Unit
Expand Down

0 comments on commit a3b4e60

Please sign in to comment.