docs(core): remove duplicate 'because' (#33569)

PR Close #33569
This commit is contained in:
Eliran Eliassy 2019-11-04 15:30:06 +02:00 committed by atscott
parent c0ad47a3fb
commit 29007e406d

View File

@ -25,7 +25,7 @@ There are a few cases where the decorator won't be added. For example:
- It already has another decorator such as `@Component()`, `@Directive()` or `@Pipe()`. These decorators already cause the compiler to generate the necessary information. - It already has another decorator such as `@Component()`, `@Directive()` or `@Pipe()`. These decorators already cause the compiler to generate the necessary information.
- The provider definition has `useValue`, `useFactory`, or `useExisting`. In - The provider definition has `useValue`, `useFactory`, or `useExisting`. In
these cases, the framework doesn't need the `@Injectable()` decorator to create the class because these cases, the framework doesn't need the `@Injectable()` decorator to create the class
because it can just use the value, because it can just use the value,
factory function, or existing instance that was provided. factory function, or existing instance that was provided.