Skip to content

Commit

Permalink
docs(compiler): fix spelling errors (angular#22704)
Browse files Browse the repository at this point in the history
PR Close angular#22704
  • Loading branch information
wKoza authored and leo6104 committed Mar 25, 2018
1 parent 7d22fdb commit 44259e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/compiler/design/separate_compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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`.

Expand Down

0 comments on commit 44259e8

Please sign in to comment.