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.
$getRouteBaseName
1 parent 4693ec2 commit 05ed0fcCopy full SHA for 05ed0fc
1 file changed
src/runtime/plugins/i18n.ts
@@ -42,6 +42,7 @@ import type {
42
LocaleHeadFunction,
43
LocalePathFunction,
44
LocaleRouteFunction,
45
+ RouteBaseNameFunction,
46
SwitchLocalePathFunction
47
} from '../composables'
48
@@ -489,7 +490,7 @@ declare module '#app' {
489
490
*
491
* @returns The route base name. if cannot get, `undefined` is returned.
492
*/
- $getRouteBaseName: (...args: Parameters<typeof getRouteBaseName>) => ReturnType<typeof getRouteBaseName>
493
+ $getRouteBaseName: (...args: Parameters<RouteBaseNameFunction>) => ReturnType<typeof getRouteBaseName>
494
/**
495
* Returns localized path for passed in route.
496
0 commit comments