ci(router): update the public API guard for the router

This fixes a badly applied revert earlier.
This commit is contained in:
Alex Rickabaugh 2017-12-20 11:54:22 -08:00
parent 33c0ee3441
commit 135ead6c97
2 changed files with 2 additions and 5 deletions

View File

@ -1,10 +1,10 @@
/** @stable */
export declare class RouterTestingModule {
static withRoutes(routes: Routes): ModuleWithProviders;
static withRoutes(routes: Routes, config?: ExtraOptions): ModuleWithProviders;
}
/** @stable */
export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions, urlHandlingStrategy?: UrlHandlingStrategy): Router;
/** @stable */
export declare class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {

View File

@ -8,6 +8,3 @@ export declare const RouterUpgradeInitializer: {
/** @experimental */
export declare function setUpLocationSync(ngUpgrade: UpgradeModule): void;
/** @experimental */
export declare function setUpRouterSync(injector: Injector, $injector: any): void;