chore: move injector to being non-internal but private (#10339)

* chore: move injector to being non-internal but private

* Add the new non-internal method to the public API.
This commit is contained in:
Hans
2016-07-28 10:38:29 -07:00
committed by GitHub
parent b58e9ea775
commit a67cc8229d
4 changed files with 6 additions and 7 deletions

View File

@ -41,10 +41,8 @@ export class ComponentStillLoadingError extends BaseException {
export class Compiler {
/**
* Returns the injector with which the compiler has been created.
*
* @internal
*/
get injector(): Injector {
get _injector(): Injector {
throw new BaseException(`Runtime compiler is not loaded. Tried to read the injector.`);
}