docs(router): fix up the exampesd

This commit is contained in:
vsavkin
2016-08-30 15:57:24 -07:00
committed by Victor Berchet
parent c350ba29f6
commit c74a438f0c
5 changed files with 59 additions and 11 deletions

View File

@ -110,7 +110,7 @@ export declare class NavigationError {
toString(): string;
}
/** @experimental */
/** @stable */
export interface NavigationExtras {
fragment?: string;
preserveFragment?: boolean;
@ -172,7 +172,7 @@ export declare class Router {
config: Routes;
errorHandler: ErrorHandler;
events: Observable<Event>;
/** @experimental */ navigated: boolean;
/** @stable */ navigated: boolean;
routerState: RouterState;
url: string;
constructor(rootComponentType: Type<any>, urlSerializer: UrlSerializer, outletMap: RouterOutletMap, location: Location, injector: Injector, loader: NgModuleFactoryLoader, compiler: Compiler, config: Routes);