docs(core): remove usage notes from ReflexiveInjector.parent property (#26039)

Properties are not allowed usage notes, and in this case the example
is so simple it didn't warrant moving it to the overall class documentation.

PR Close #26039
This commit is contained in:
Pete Bacon Darwin 2018-09-20 20:46:15 +01:00 committed by Kara Erickson
parent 79b6256789
commit 206ae7a233
1 changed files with 0 additions and 9 deletions

View File

@ -153,15 +153,6 @@ export abstract class ReflectiveInjector implements Injector {
* *
* <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection. * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.
* --> * -->
*
* @usageNotes
* ### Example
*
* ```typescript
* var parent = ReflectiveInjector.resolveAndCreate([]);
* var child = parent.resolveAndCreateChild([]);
* expect(child.parent).toBe(parent);
* ```
*/ */
abstract get parent(): Injector|null; abstract get parent(): Injector|null;