From 4ac606b419170f22ac480d07438783d2dd88e8ee Mon Sep 17 00:00:00 2001 From: WilliamKoza Date: Sun, 11 Mar 2018 12:30:37 +0100 Subject: [PATCH] docs(compiler): fix spelling errors (#22704) PR Close #22704 --- packages/compiler/design/separate_compilation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/compiler/design/separate_compilation.md b/packages/compiler/design/separate_compilation.md index 2b51c7e4f1..fcfc6846ae 100644 --- a/packages/compiler/design/separate_compilation.md +++ b/packages/compiler/design/separate_compilation.md @@ -45,7 +45,7 @@ decorator is sufficient to generate the definition. However, in the case of interpreting the template, the compiler needs to know the selector defined for each component, directive and pipe that are in scope of the template. The purpose of this document is to define the information is needed by the -compiler and how that information is is serialized to be discovered and +compiler and how that information is serialized to be discovered and used by subsequent calls to `ngc`. This document refers to this style of code generation as ivy after the code @@ -317,7 +317,7 @@ where the `type` values are generated as references. ```ts @NgModule({ imports: [CommonModule, UtilityModule], - declarations: [MyComponent, MyDirective, MyComponent], + declarations: [MyComponent, MyDirective, MyPipe], exports: [MyComponent, MyDirective, MyPipe, UtilityModule], providers: [{ provide: Service, useClass: ServiceImpl @@ -490,9 +490,9 @@ need to be back-patch onto the component, directive, module, pipe, and injectable classes. If the Angular compiler option `"renderer2BackPatching"` is enabled, the -compiler will generate an `angular.back-patch` module in the to root output +compiler will generate an `angular.back-patch` module into the root output directory of the project. If `"generateRenderer2Factories"` is set to `true` -then the default value for `"renderer2BackPatching"` is `true` and it is and +then the default value for `"renderer2BackPatching"` is `true` and it is an error for it to be `false`. `"renderer2BackPatching"` is ignored if `"enableIvy"` is `false`.