Skip to content

Commit

Permalink
docs(core): remove usage notes from ReflexiveInjector.parent property (
Browse files Browse the repository at this point in the history
…#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
  • Loading branch information
petebacondarwin authored and kara committed Sep 24, 2018
1 parent 79b6256 commit 206ae7a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/core/src/di/reflective_injector.ts
Expand Up @@ -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.
* -->
*
* @usageNotes
* ### Example
*
* ```typescript
* var parent = ReflectiveInjector.resolveAndCreate([]);
* var child = parent.resolveAndCreateChild([]);
* expect(child.parent).toBe(parent);
* ```
*/
abstract get parent(): Injector|null;

Expand Down

0 comments on commit 206ae7a

Please sign in to comment.