diff --git a/modules/@angular/router/src/directives/router_link_active.ts b/modules/@angular/router/src/directives/router_link_active.ts index d5a35373c0..ff314640c9 100644 --- a/modules/@angular/router/src/directives/router_link_active.ts +++ b/modules/@angular/router/src/directives/router_link_active.ts @@ -66,7 +66,7 @@ export class RouterLinkActive implements OnChanges, OnDestroy, AfterContentInit private classes: string[] = []; private subscription: Subscription; - @Input() private routerLinkActiveOptions: {exact: boolean} = {exact: false}; + @Input() routerLinkActiveOptions: {exact: boolean} = {exact: false}; constructor(private router: Router, private element: ElementRef, private renderer: Renderer) { this.subscription = router.events.subscribe(s => { diff --git a/tools/public_api_guard/router/index.d.ts b/tools/public_api_guard/router/index.d.ts index f6afd7b843..3d37d00660 100644 --- a/tools/public_api_guard/router/index.d.ts +++ b/tools/public_api_guard/router/index.d.ts @@ -210,6 +210,9 @@ export declare class RouterLinkActive implements OnChanges, OnDestroy, AfterCont links: QueryList; linksWithHrefs: QueryList; routerLinkActive: string[] | string; + routerLinkActiveOptions: { + exact: boolean; + }; constructor(router: Router, element: ElementRef, renderer: Renderer); ngAfterContentInit(): void; ngOnChanges(changes: {}): any;