Skip to content

Commit 9f7178b

Browse files
docs: fix Belt.Option.flatMap
Fix return type of function argument to Belt.Option.flatMap
1 parent 4741273 commit 9f7178b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/latest/api/belt/option.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ let flatMap: (option<'a>, 'a => option<'b>) => option<'b>
8989

9090
If `optionValue` is `Some(value)`, returns `f(value)`, otherwise returns
9191
`None`.<br/>
92-
The function `f` must have a return type of `option<'a>`.
92+
The function `f` must have a return type of `option<'b>`.
9393

9494
```res example
9595
let addIfAboveOne = value =>

0 commit comments

Comments
 (0)