Skip to content

Commit

Permalink
fix(types): $getRouteBaseName parameter type (#2933)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Apr 24, 2024
1 parent 4693ec2 commit 05ed0fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/plugins/i18n.ts
Expand Up @@ -42,6 +42,7 @@ import type {
LocaleHeadFunction,
LocalePathFunction,
LocaleRouteFunction,
RouteBaseNameFunction,
SwitchLocalePathFunction
} from '../composables'

Expand Down Expand Up @@ -489,7 +490,7 @@ declare module '#app' {
*
* @returns The route base name. if cannot get, `undefined` is returned.
*/
$getRouteBaseName: (...args: Parameters<typeof getRouteBaseName>) => ReturnType<typeof getRouteBaseName>
$getRouteBaseName: (...args: Parameters<RouteBaseNameFunction>) => ReturnType<typeof getRouteBaseName>
/**
* Returns localized path for passed in route.
*
Expand Down

0 comments on commit 05ed0fc

Please sign in to comment.