`InitialNavigation` is used in `ExtraOptions`, which is already part of the public API. Thus, `InitialNavigation` should be too. Not publicly exporting it from `router/index.ts` seems an omission, since the type is already annotated with the `@publicApi` JSDoc tag. By publicly exporting `InitialNavigation`, it will also correctly appear in the API docs on angular.io. PR Close #32707
29 lines
1.9 KiB
TypeScript
29 lines
1.9 KiB
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
|
|
export {Data, DeprecatedLoadChildren, LoadChildren, LoadChildrenCallback, QueryParamsHandling, ResolveData, Route, Routes, RunGuardsAndResolvers, UrlMatchResult, UrlMatcher} from './config';
|
|
export {RouterLink, RouterLinkWithHref} from './directives/router_link';
|
|
export {RouterLinkActive} from './directives/router_link_active';
|
|
export {RouterOutlet} from './directives/router_outlet';
|
|
export {ActivationEnd, ActivationStart, ChildActivationEnd, ChildActivationStart, Event, GuardsCheckEnd, GuardsCheckStart, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ResolveEnd, ResolveStart, RouteConfigLoadEnd, RouteConfigLoadStart, RouterEvent, RoutesRecognized, Scroll} from './events';
|
|
export {CanActivate, CanActivateChild, CanDeactivate, CanLoad, Resolve} from './interfaces';
|
|
export {DetachedRouteHandle, RouteReuseStrategy} from './route_reuse_strategy';
|
|
export {Navigation, NavigationExtras, Router} from './router';
|
|
export {ROUTES} from './router_config_loader';
|
|
export {ExtraOptions, InitialNavigation, ROUTER_CONFIGURATION, ROUTER_INITIALIZER, RouterModule, provideRoutes} from './router_module';
|
|
export {ChildrenOutletContexts, OutletContext} from './router_outlet_context';
|
|
export {NoPreloading, PreloadAllModules, PreloadingStrategy, RouterPreloader} from './router_preloader';
|
|
export {ActivatedRoute, ActivatedRouteSnapshot, RouterState, RouterStateSnapshot} from './router_state';
|
|
export {PRIMARY_OUTLET, ParamMap, Params, convertToParamMap} from './shared';
|
|
export {UrlHandlingStrategy} from './url_handling_strategy';
|
|
export {DefaultUrlSerializer, UrlSegment, UrlSegmentGroup, UrlSerializer, UrlTree} from './url_tree';
|
|
export {VERSION} from './version';
|
|
|
|
export * from './private_export';
|