Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(TypeScript): Fix a few typos #4106

Merged
merged 1 commit into from Jul 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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