Skip to content

Commit 43fa37c

Browse files
Update interop-cheatsheet.mdx
1 parent 3475bc4 commit 43fa37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/v11.0.0/interop-cheatsheet.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ var result3 = Caml_option.nullable_to_opt(10);
159159

160160
```res example
161161
@send external map: (array<'a>, 'a => 'b) => array<'b> = "map"
162-
@send external filter: (array<'a>, 'a => bool) => array<'b> = "filter"
162+
@send external filter: (array<'a>, 'a => bool) => array<'a> = "filter"
163163
[1, 2, 3]
164164
->map(a => a + 1)
165165
->filter(a => mod(a, 2) == 0)

0 commit comments

Comments
 (0)