Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(router): Warn when provideRoutes is used without provideRout…
…er (#47896) Due to being only 1 letter away from `provideRouter`, it is quite possible that developers may accidentally use `provideRoutes` rather than `provideRouter` in the `boostrapApplication` function. This change will warn developers when `provideRoutes` is used without the `Router`. PR Close #47896
- Loading branch information
1 parent
6b659d0
commit bc0fc02
Showing
5 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters