ci(router): update the public API guard for the router
This fixes a badly applied revert earlier.
This commit is contained in:
parent
33c0ee3441
commit
135ead6c97
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue