Skip to content

Commit 7cfb4ad

Browse files
Fix uncurried error
1 parent 270e82a commit 7cfb4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/latest/bind-to-js-function.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ type x
444444
@val external x: x = "x"
445445
@set external setOnload: (x, @this ((x, int) => unit)) => unit = "onload"
446446
@get external resp: x => int = "response"
447-
setOnload(x, @this ((o, v) => Js.log(resp(o) + v)))
447+
setOnload(x, @this (o, v) => Js.log(resp(o) + v))
448448
```
449449
```js
450450
x.onload = function (v) {

0 commit comments

Comments
 (0)