Skip to content

Commit 135ead6

Browse files
committed
ci(router): update the public API guard for the router
This fixes a badly applied revert earlier.
1 parent 33c0ee3 commit 135ead6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tools/public_api_guard/router/testing.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/** @stable */
22
export declare class RouterTestingModule {
3-
static withRoutes(routes: Routes): ModuleWithProviders;
3+
static withRoutes(routes: Routes, config?: ExtraOptions): ModuleWithProviders;
44
}
55

66
/** @stable */
7-
export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], urlHandlingStrategy?: UrlHandlingStrategy): Router;
7+
export declare function setupTestingRouter(urlSerializer: UrlSerializer, contexts: ChildrenOutletContexts, location: Location, loader: NgModuleFactoryLoader, compiler: Compiler, injector: Injector, routes: Route[][], opts?: ExtraOptions, urlHandlingStrategy?: UrlHandlingStrategy): Router;
88

99
/** @stable */
1010
export declare class SpyNgModuleFactoryLoader implements NgModuleFactoryLoader {

tools/public_api_guard/router/upgrade.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,3 @@ export declare const RouterUpgradeInitializer: {
88

99
/** @experimental */
1010
export declare function setUpLocationSync(ngUpgrade: UpgradeModule): void;
11-
12-
/** @experimental */
13-
export declare function setUpRouterSync(injector: Injector, $injector: any): void;

0 commit comments

Comments
 (0)