Skip to content

Commit baf44b8

Browse files
Fix HTMLDocument.fromDocument type signature.
1 parent 9660baf commit baf44b8

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)