From 137fff963284de0fe3a20d1f4b2d3a0742db8edc Mon Sep 17 00:00:00 2001 From: PatrickJS Date: Thu, 30 Jun 2016 19:39:13 -0700 Subject: [PATCH] fix(router): remove private and internal annotations (#9753) --- modules/@angular/router/src/directives/router_outlet.ts | 3 --- tools/public_api_guard/router/index.d.ts | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/@angular/router/src/directives/router_outlet.ts b/modules/@angular/router/src/directives/router_outlet.ts index b2ab00b6ed..e600b5f4df 100644 --- a/modules/@angular/router/src/directives/router_outlet.ts +++ b/modules/@angular/router/src/directives/router_outlet.ts @@ -31,9 +31,6 @@ export class RouterOutlet { private _activatedRoute: ActivatedRoute; public outletMap: RouterOutletMap; - /** - * @internal - */ constructor( parentOutletMap: RouterOutletMap, private location: ViewContainerRef, private componentFactoryResolver: ComponentFactoryResolver, @Attribute('name') name: string) { diff --git a/tools/public_api_guard/router/index.d.ts b/tools/public_api_guard/router/index.d.ts index 690d1a210f..9f37547769 100644 --- a/tools/public_api_guard/router/index.d.ts +++ b/tools/public_api_guard/router/index.d.ts @@ -172,6 +172,7 @@ export declare class RouterOutlet { component: Object; isActivated: boolean; outletMap: RouterOutletMap; + constructor(parentOutletMap: RouterOutletMap, location: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, name: string); activate(activatedRoute: ActivatedRoute, providers: ResolvedReflectiveProvider[], outletMap: RouterOutletMap): void; deactivate(): void; }