Skip to content

Commit 161e455

Browse files
committed
Remove localName parameter
1 parent fb4cbda commit 161e455

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DOMAPI/Document.res

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ Creates an instance of the element for the specified tag.
155155
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/createElement)
156156
*/
157157
@send
158-
external createElement: (document, ~localName: string, ~options: string=?) => element =
159-
"createElement"
158+
external createElement: (document, string, ~options: string=?) => element = "createElement"
160159

161160
/**
162161
Creates an instance of the element for the specified tag.

0 commit comments

Comments
 (0)