Skip to content

Commit dbec3ca

Browse files
Foxandxssvicb
authored andcommitted
docs(aio): update pipes for CLI (angular#19553)
1 parent f7c9b94 commit dbec3ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

aio/content/guide/pipes.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,16 @@ Note the following:
214214
* You use your custom pipe the same way you use built-in pipes.
215215
* You must include your pipe in the `declarations` array of the `AppModule`.
216216

217-
218217
<div class="callout is-helpful">
219218

220219
<header>
221220
Remember the declarations array
222221
</header>
223222

224223

225-
You must manually register custom pipes.
224+
You must register custom pipes.
226225
If you don't, Angular reports an error.
227-
In the previous example, you didn't list the `DatePipe` because all
228-
Angular built-in pipes are pre-registered.
226+
Angular CLI's generator registers the pipe automatically.
229227

230228

231229
</div>

0 commit comments

Comments
 (0)