Skip to content

Commit 8f54a33

Browse files
authored
Merge pull request #313 from Minnozz/patch-1
docs: fix `Belt.Option.flatMap`
2 parents 4741273 + 9f7178b commit 8f54a33

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)