From dbec3ca716f7d37823724ef5893ae3b919ca7b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Rodr=C3=ADguez?= Date: Fri, 3 Nov 2017 23:21:14 +0100 Subject: [PATCH] docs(aio): update pipes for CLI (#19553) --- aio/content/guide/pipes.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aio/content/guide/pipes.md b/aio/content/guide/pipes.md index 0445b942f0..216d62702b 100644 --- a/aio/content/guide/pipes.md +++ b/aio/content/guide/pipes.md @@ -214,7 +214,6 @@ Note the following: * You use your custom pipe the same way you use built-in pipes. * You must include your pipe in the `declarations` array of the `AppModule`. -
@@ -222,10 +221,9 @@ Note the following:
-You must manually register custom pipes. +You must register custom pipes. If you don't, Angular reports an error. -In the previous example, you didn't list the `DatePipe` because all -Angular built-in pipes are pre-registered. +Angular CLI's generator registers the pipe automatically.