Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

UrlTree created by Router.createUrlTree might incorrectly have fragment === undefined #34197

Ferdy89 opened this issue Dec 2, 2019 · 0 comments


Copy link

@Ferdy89 Ferdy89 commented Dec 2, 2019

馃悶 bug report

Affected Package

The issue is caused by package @angular/router, particularly by the method Router.createUrlTree.

Is this a regression?

To my knowledge, no.


When creating a UrlTree using Router.createUrlTree without passing any fragments, the resulting UrlTree contains a fragment === undefined. This does not conform to its type signature.

馃敩 Minimal Reproduction

馃實 Your Environment

Angular Version: 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can鈥檛 perform that action at this time.