Skip to content

Commit 3fc6963

Browse files
authored
Merge pull request #607 from jaredly/patch-2
2 parents 00edddc + e8d65cd commit 3fc6963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/OCaml-call-JS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ var ys = [ { x : 3 }, {x : 4 } ]
449449
`bs.obj` can also be used as an attribute in external declarations, like as below:
450450

451451
```OCaml
452-
external make_config : hi:int -> lo:int -> unit -> t [@@bs.obj]
452+
external make_config : hi:int -> lo:int -> unit -> t = "" [@@bs.obj]
453453
let v = make_config ~hi:2 ~lo:3
454454
```
455455
will be compiled as

0 commit comments

Comments
 (0)