Skip to content

Commit 2bba05b

Browse files
Merge pull request #1392 from alexandrecoin/docs-pipes/typos
docs(pipes): fixed various typos
2 parents 201a55b + 05d315e commit 2bba05b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/pipes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Nest comes with a number of built-in pipes that you can use out-of-the-box. You
1919
2020
#### Built-in pipes
2121

22-
Nest comes with five pipes available out-of-the-box:
22+
Nest comes with six pipes available out-of-the-box:
2323

2424
- `ValidationPipe`
2525
- `ParseIntPipe`
@@ -30,7 +30,7 @@ Nest comes with five pipes available out-of-the-box:
3030

3131
They're exported from the `@nestjs/common` package.
3232

33-
Let's take a quick look at using `ParseIntPipe`. This is an example of the **transformation** use case, where the pipe ensures that a method handler parameter is converted to a JavaScript integer (or throws an exception if the conversion fails). Later in this chapter, we'll show a simple custom implementation for a `ParseIntPipe`. The example techniques below also apply to the other built-in transformation pipes (`ParseBoolPipe`, `ParseArrayPipe` and `ParseUUIDPipe`, which well refer to as the `Parse*` pipes in this chapter).
33+
Let's take a quick look at using `ParseIntPipe`. This is an example of the **transformation** use case, where the pipe ensures that a method handler parameter is converted to a JavaScript integer (or throws an exception if the conversion fails). Later in this chapter, we'll show a simple custom implementation for a `ParseIntPipe`. The example techniques below also apply to the other built-in transformation pipes (`ParseBoolPipe`, `ParseArrayPipe` and `ParseUUIDPipe`, which we'll refer to as the `Parse*` pipes in this chapter).
3434

3535
#### Binding pipes
3636

@@ -86,7 +86,7 @@ async findOne(@Query('id', ParseIntPipe) id: number) {
8686
}
8787
```
8888

89-
Here's an example of using the `ParseUUIDPipe` to parse a string parameter and validate if is a UUID.
89+
Here's an example of using the `ParseUUIDPipe` to parse a string parameter and validate if it is a UUID.
9090

9191
```typescript
9292
@@filename()

0 commit comments

Comments
 (0)