Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
acd02 committed Feb 22, 2020
1 parent ef0db92 commit cab3221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const success: Ok = ok(data)

#### `result`

Wraps a value of one of two possible types (`Result`) and returns a [`ResultBox`](https://github.com/acd02/utils/blob/master/src/result/result.ts#L1) object
Wraps a value of two possible types (`Result`) and returns a [`ResultBox`](https://github.com/acd02/utils/blob/master/src/result/result.ts#L1) object
allowing you to unfold the value to handle both cases.

An instance of `Result<E, S>` is either an instance of `Err` or `Ok`.
Expand Down

0 comments on commit cab3221

Please sign in to comment.