docs(compiler): fix spelling errors (#22704)

PR Close #22704
This commit is contained in:
WilliamKoza 2018-03-11 12:30:37 +01:00 committed by Kara Erickson
parent 51027d73cc
commit 4ac606b419
1 changed files with 4 additions and 4 deletions

View File

@ -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`.