Skip to content

Commit

Permalink
docs(TypeScript): Fix a few typos (#4106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eldemarkki committed Jul 2, 2022
1 parent 4139133 commit 69df0e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Reference/TypeScript.md
Expand Up @@ -143,7 +143,7 @@ route-level `request` object.
curl localhost:8080/auth?username=admin&password=Password123!
```
And it should return back `logged in!`
6. But wait theres more! The generic interfaces are also available inside route
6. But wait there's more! The generic interfaces are also available inside route
level hook methods. Modify the previous route by adding a `preValidation`
hook:
```typescript
Expand Down Expand Up @@ -403,7 +403,7 @@ definitions.
#### json-schema-to-ts

If you do not want to generate types from your schemas, but want to use them
diretly from your code, you can use the package
directly from your code, you can use the package
[json-schema-to-ts](https://www.npmjs.com/package/json-schema-to-ts).

You can install it as dev-dependency.
Expand Down Expand Up @@ -1378,7 +1378,7 @@ FastifyError is a custom error object that includes status code and validation
results.

It extends the Node.js `Error` type, and adds two additional, optional
properties: `statusCode: number` and `validation: ValiationResult[]`.
properties: `statusCode: number` and `validation: ValidationResult[]`.

##### fastify.ValidationResult

Expand Down

0 comments on commit 69df0e3

Please sign in to comment.