Skip to content

Commit 4ac606b

Browse files
wKozakara
authored andcommitted
docs(compiler): fix spelling errors (angular#22704)
PR Close angular#22704
1 parent 51027d7 commit 4ac606b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/compiler/design/separate_compilation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ decorator is sufficient to generate the definition. However, in the case of
4545
interpreting the template, the compiler needs to know the selector defined for
4646
each component, directive and pipe that are in scope of the template. The
4747
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
4949
used by subsequent calls to `ngc`.
5050

5151
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.
317317
```ts
318318
@NgModule({
319319
imports: [CommonModule, UtilityModule],
320-
declarations: [MyComponent, MyDirective, MyComponent],
320+
declarations: [MyComponent, MyDirective, MyPipe],
321321
exports: [MyComponent, MyDirective, MyPipe, UtilityModule],
322322
providers: [{
323323
provide: Service, useClass: ServiceImpl
@@ -490,9 +490,9 @@ need to be back-patch onto the component, directive, module, pipe, and
490490
injectable classes.
491491

492492
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
494494
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
496496
error for it to be `false`. `"renderer2BackPatching"` is ignored if `"enableIvy"`
497497
is `false`.
498498

0 commit comments

Comments
 (0)