Skip to content

Commit 350ad01

Browse files
committed
Fix incorrect syntax
1 parent bc816c3 commit 350ad01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc_docs/syntax/decorator_send_pipe.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let el = getElementById("myId", doc)
2525
// Bind to a method on an array
2626
@bs.send.pipe(: array<'a>)
2727
external fillInPlace: 'a => array<'a> = "fill"
28-
let a = fillInPlace2([1, 2, 3], 99)
28+
let a = fillInPlace(99, [1, 2, 3])
2929
```
3030

3131
```js

0 commit comments

Comments
 (0)