refactor(core): Change abstract get to readonly (#19226)

This commit is contained in:
tinayuangao
2017-09-29 00:36:13 +08:00
committed by Victor Berchet
parent 2d2300e118
commit 3aa3d5c548
13 changed files with 73 additions and 73 deletions

View File

@ -163,7 +163,7 @@ export abstract class ReflectiveInjector implements Injector {
* expect(child.parent).toBe(parent);
* ```
*/
abstract get parent(): Injector|null;
readonly parent: Injector|null;
/**
* Resolves an array of providers and creates a child injector from those providers.