fix(router): Fix _lastPathIndex in deeply nested empty paths (#22394)
PR Close #22394
This commit is contained in:

committed by
Victor Berchet

parent
1e28495c89
commit
968f153491
2
tools/public_api_guard/router/router.d.ts
vendored
2
tools/public_api_guard/router/router.d.ts
vendored
@ -119,6 +119,7 @@ export interface ExtraOptions {
|
||||
onSameUrlNavigation?: 'reload' | 'ignore';
|
||||
paramsInheritanceStrategy?: 'emptyOnly' | 'always';
|
||||
preloadingStrategy?: any;
|
||||
relativeLinkResolution?: 'legacy' | 'corrected';
|
||||
scrollOffset?: [number, number] | (() => [number, number]);
|
||||
scrollPositionRestoration?: 'disabled' | 'enabled' | 'top';
|
||||
urlUpdateStrategy?: 'deferred' | 'eager';
|
||||
@ -320,6 +321,7 @@ export declare class Router {
|
||||
navigated: boolean;
|
||||
onSameUrlNavigation: 'reload' | 'ignore';
|
||||
paramsInheritanceStrategy: 'emptyOnly' | 'always';
|
||||
relativeLinkResolution: 'legacy' | 'corrected';
|
||||
routeReuseStrategy: RouteReuseStrategy;
|
||||
readonly routerState: RouterState;
|
||||
readonly url: string;
|
||||
|
Reference in New Issue
Block a user