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 committed Mar 7, 2023
1 parent a056cd0 commit 29b3d5d
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 @@ -210,7 +210,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 29b3d5d

Please sign in to comment.