Skip to content

Commit c42701f

Browse files
authored
Merge pull request #11 from galenhuntington/master
Fix HTMLDocument.fromDocument type signature.
2 parents 9660baf + baf44b8 commit c42701f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Web/HTML/HTMLDocument.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import Web.Internal.FFI (unsafeReadProtoTagged)
3838

3939
foreign import data HTMLDocument :: Type
4040

41-
fromDocument :: Node -> Maybe Document
41+
fromDocument :: Document -> Maybe HTMLDocument
4242
fromDocument = unsafeReadProtoTagged "HTMLDocument"
4343

4444
fromNode :: Node -> Maybe HTMLDocument

0 commit comments

Comments
 (0)