@@ -45,7 +45,7 @@ decorator is sufficient to generate the definition. However, in the case of
45
45
interpreting the template, the compiler needs to know the selector defined for
46
46
each component, directive and pipe that are in scope of the template. The
47
47
purpose of this document is to define the information is needed by the
48
- compiler and how that information is is serialized to be discovered and
48
+ compiler and how that information is serialized to be discovered and
49
49
used by subsequent calls to ` ngc ` .
50
50
51
51
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.
317
317
``` ts
318
318
@NgModule ({
319
319
imports: [CommonModule , UtilityModule ],
320
- declarations: [MyComponent , MyDirective , MyComponent ],
320
+ declarations: [MyComponent , MyDirective , MyPipe ],
321
321
exports: [MyComponent , MyDirective , MyPipe , UtilityModule ],
322
322
providers: [{
323
323
provide: Service , useClass: ServiceImpl
@@ -490,9 +490,9 @@ need to be back-patch onto the component, directive, module, pipe, and
490
490
injectable classes.
491
491
492
492
If the Angular compiler option ` "renderer2BackPatching" ` is enabled, the
493
- compiler will generate an ` angular.back-patch ` module in the to root output
493
+ compiler will generate an ` angular.back-patch ` module into the root output
494
494
directory of the project. If ` "generateRenderer2Factories" ` is set to ` true `
495
- then the default value for ` "renderer2BackPatching" ` is ` true ` and it is and
495
+ then the default value for ` "renderer2BackPatching" ` is ` true ` and it is an
496
496
error for it to be ` false ` . ` "renderer2BackPatching" ` is ignored if ` "enableIvy" `
497
497
is ` false ` .
498
498
0 commit comments