Skip to content

Commit de52ac8

Browse files
Fix incorrect bindings in Global
1 parent d9e174c commit de52ac8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Global.res

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ let response = await fetch(myRequest)
505505
506506
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Window/fetch)
507507
*/
508-
@send
509508
external fetch_withRequest: (request, ~init: requestInit=?) => promise<response> = "fetch"
510509

511510
/**
@@ -567,7 +566,7 @@ Removes the event listener in target's event listener list with the same type, c
567566
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
568567
*/
569568
external removeEventListener: (
570-
string,
569+
eventType,
571570
eventListener<'event>,
572571
~options: eventListenerOptions=?,
573572
) => unit = "removeEventListener"

0 commit comments

Comments
 (0)