From 44188b9072f2f6f36bd098954ca83f46afc2b552 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Wed, 28 Oct 2015 14:16:54 -0700 Subject: [PATCH] chore(typings): mark underscore-prefix members @internal I still haven't made a tslint check for this, so new occurrences leaked in. See https://github.com/angular/angular/issues/4645 Closes #4986 --- modules/angular2/src/core/application_ref.ts | 1 + modules/angular2/src/core/zone/ng_zone.ts | 3 +++ modules/angular2/src/router/router.ts | 1 + 3 files changed, 5 insertions(+) diff --git a/modules/angular2/src/core/application_ref.ts b/modules/angular2/src/core/application_ref.ts index 6b3904b02c..7dc93af03a 100644 --- a/modules/angular2/src/core/application_ref.ts +++ b/modules/angular2/src/core/application_ref.ts @@ -215,6 +215,7 @@ export abstract class PlatformRef { export class PlatformRef_ extends PlatformRef { /** @internal */ _applications: ApplicationRef[] = []; + /** @internal */ _disposeListeners: Function[] = []; constructor(private _injector: Injector, private _dispose: () => void) { super(); } diff --git a/modules/angular2/src/core/zone/ng_zone.ts b/modules/angular2/src/core/zone/ng_zone.ts index 372d7d8a43..2ed0038072 100644 --- a/modules/angular2/src/core/zone/ng_zone.ts +++ b/modules/angular2/src/core/zone/ng_zone.ts @@ -185,6 +185,7 @@ export class NgZone { */ get onTurnStart(): /* Subject */ any { return this._onTurnStartEvents; } + /** @internal */ _notifyOnTurnStart(parentRun): void { parentRun.call(this._innerZone, () => { this._onTurnStartEvents.next(null); }); } @@ -213,6 +214,7 @@ export class NgZone { */ get onTurnDone() { return this._onTurnDoneEvents; } + /** @internal */ _notifyOnTurnDone(parentRun): void { parentRun.call(this._innerZone, () => { this._onTurnDoneEvents.next(null); }); } @@ -251,6 +253,7 @@ export class NgZone { */ get onEventDone() { return this._onEventDoneEvents; } + /** @internal */ _notifyOnEventDone(): void { this.runOutsideAngular(() => { this._onEventDoneEvents.next(null); }); } diff --git a/modules/angular2/src/router/router.ts b/modules/angular2/src/router/router.ts index b157178bca..e4724792b7 100644 --- a/modules/angular2/src/router/router.ts +++ b/modules/angular2/src/router/router.ts @@ -478,6 +478,7 @@ export class Router { export class RootRouter extends Router { /** @internal */ _location: Location; + /** @internal */ _locationSub: Object; constructor(registry: RouteRegistry, location: Location, primaryComponent: Type) {