Skip to content

Commit

Permalink
Fix typo in Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavoguichard committed Mar 21, 2023
1 parent d414531 commit 782a351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ const [result, error] = await addAndCheck(1, 2)
Example:

```typescript
type Result<T> = Success<T> | Error;
type Success<T> = [T, null];
type Result<T> = Success<T> | Error;
type Success<T> = [T, null];
type Error = [null, ErrorWithMessage[]];
type ErrorWithMessage = { message: string; exception?: unknown, cause?: unknown };
```
Expand Down

0 comments on commit 782a351

Please sign in to comment.