Skip to content

Commit 4e99439

Browse files
JeanMechealxhub
authored andcommitted
refactor(router): remove private export of withPreloading (#50194)
`withPreloading` is part of the public API. PR Close #50194
1 parent 55dfe80 commit 4e99439

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/router/src/private_export.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99

1010
export {ɵEmptyOutletComponent} from './components/empty_outlet';
1111
export {RestoredState as ɵRestoredState} from './navigation_transition';
12-
export {withPreloading as ɵwithPreloading} from './provide_router';
1312
export {ROUTER_PROVIDERS as ɵROUTER_PROVIDERS} from './router_module';
1413
export {afterNextNavigation as ɵafterNextNavigation} from './utils/navigations';

packages/router/testing/src/router_testing_module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import {Location} from '@angular/common';
1010
import {provideLocationMocks} from '@angular/common/testing';
1111
import {Compiler, inject, Injector, ModuleWithProviders, NgModule} from '@angular/core';
12-
import {ChildrenOutletContexts, ExtraOptions, NoPreloading, Route, Router, ROUTER_CONFIGURATION, RouteReuseStrategy, RouterModule, ROUTES, Routes, TitleStrategy, UrlHandlingStrategy, UrlSerializer, ɵROUTER_PROVIDERS as ROUTER_PROVIDERS, ɵwithPreloading as withPreloading} from '@angular/router';
12+
import {ChildrenOutletContexts, ExtraOptions, NoPreloading, Route, Router, ROUTER_CONFIGURATION, RouteReuseStrategy, RouterModule, ROUTES, Routes, TitleStrategy, UrlHandlingStrategy, UrlSerializer, withPreloading, ɵROUTER_PROVIDERS as ROUTER_PROVIDERS} from '@angular/router';
1313

1414
function isUrlHandlingStrategy(opts: ExtraOptions|
1515
UrlHandlingStrategy): opts is UrlHandlingStrategy {

0 commit comments

Comments
 (0)