Skip to content

Commit

Permalink
docs(option/orElse): add deprecation message
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Castro <[email protected]>
  • Loading branch information
glennsl and aspeddro authored Feb 20, 2023
1 parent 4e2c0d8 commit c92e2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core__Option.resi
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Option.orElse(None, Some(1066) == Some(1066)
Option.orElse(None, None) == None
```
*/
@deprecated
@deprecated("Use `or` instead")
let orElse: (option<'a>, option<'a>) => option<'a>

/**
Expand Down

0 comments on commit c92e2d2

Please sign in to comment.