fix(router): incorrect signature for createUrlTree (#39347)
The type of the `navigationExtras` param was accidetally changed to the wrong symbol
in 783a5bd7bb
.
These changes revert it to the correct one.
PR Close #39347
This commit is contained in:

committed by
Andrew Kushnir

parent
a7964f4eca
commit
9fb7bdea89
@ -1096,7 +1096,7 @@ export class Router {
|
||||
* router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});
|
||||
* ```
|
||||
*/
|
||||
createUrlTree(commands: any[], navigationExtras: NavigationExtras = {}): UrlTree {
|
||||
createUrlTree(commands: any[], navigationExtras: UrlCreationOptions = {}): UrlTree {
|
||||
const {relativeTo, queryParams, fragment, queryParamsHandling, preserveFragment} =
|
||||
navigationExtras;
|
||||
const a = relativeTo || this.routerState.root;
|
||||
|
Reference in New Issue
Block a user