File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Returns the first element within node's descendants whose ID is elementId.
1515[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/getElementById)
1616*/
1717@send
18- external getElementById : (document , string ) => element = "getElementById"
18+ external getElementById : (document , string ) => null < element > = "getElementById"
1919
2020/**
2121[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Document/getAnimations)
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Returns the first element within node's descendants whose ID is elementId.
3838[Read more on MDN](https://developer.mozilla.org/docs/Web/API/DocumentFragment/getElementById)
3939*/
4040 @send
41- external getElementById : (T .t , string ) => element = "getElementById"
41+ external getElementById : (T .t , string ) => null < element > = "getElementById"
4242
4343 /**
4444Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
You can’t perform that action at this time.
0 commit comments