We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
name
1 parent e968961 commit d4fa249Copy full SHA for d4fa249
packages/router/src/navigation-api/index.ts
@@ -952,6 +952,7 @@ export function createNavigationApiRouter(
952
}
953
954
const router: Router = {
955
+ name: 'navigation-api',
956
currentRoute,
957
listening: true,
958
packages/router/src/router.ts
@@ -192,6 +192,7 @@ export interface RouterOptions extends PathParserOptions {
192
* Router instance.
193
*/
194
export interface Router {
195
+ readonly name: 'legacy' | 'navigation-api'
196
/**
197
* @internal
198
@@ -1264,6 +1265,7 @@ export function createRouter(
1264
1265
1266
1267
1268
+ name: 'legacy',
1269
1270
1271
0 commit comments