Skip to content

Commit 26e86ac

Browse files
authored
Merge pull request #24 from Gpx/patch-1
Fix typos in getting-started.md
2 parents 88db369 + b18ec9e commit 26e86ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Let's refactor this code using a `Result` type to make these potential failures
6767

6868
### Defining errors
6969

70-
First, we need to define some errors so what we can distinguish between different error cases:
70+
First, we need to define some errors so that we can distinguish between different error cases:
7171

7272
```ts
7373
class IOError extends Error {
@@ -85,7 +85,7 @@ class ValidationError extends Error {
8585

8686
::: info
8787
Please disregard the `readonly type` property in the error classes for now. It's not necessary for the library to work, but it can be useful for type narrowing and debugging purposes.
88-
For more information, see [A note on errros](/a-note-on-errors).
88+
For more information, see [A note on errors](/a-note-on-errors).
8989
:::
9090

9191
### Returning a Result
@@ -425,4 +425,4 @@ const result = Result.gen(readConfig("config.json"));
425425
### Next steps
426426

427427
Hopefully this gives you a good idea of how to get started with `typescript-result`.
428-
For more information on how to use this library, please continue with the [guide](/a-note-on-errors). If you want to see more examples, check out the [examples](/examples/). Ready to give it a spin? Try it out for yourself in our [playground](/playground).
428+
For more information on how to use this library, please continue with the [guide](/a-note-on-errors). If you want to see more examples, check out the [examples](/examples/). Ready to give it a spin? Try it out for yourself in our [playground](/playground).

0 commit comments

Comments
 (0)