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
This commit is contained in:
Alex Eagle 2015-10-28 14:16:54 -07:00 committed by Alex Eagle
parent 53fe0fa192
commit 44188b9072
3 changed files with 5 additions and 0 deletions

View File

@ -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(); }

View File

@ -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); });
}

View File

@ -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) {