diff --git a/packages/router/src/globalExtensions.ts b/packages/router/src/globalExtensions.ts index 7aa983d62..d236a52dd 100644 --- a/packages/router/src/globalExtensions.ts +++ b/packages/router/src/globalExtensions.ts @@ -8,8 +8,7 @@ import type { RouterLink } from './RouterLink' import type { Router } from './router' import type { TypesConfig } from './config' -// TODO: figure out why it cannot be 'vue' like said in docs -declare module '@vue/runtime-core' { +declare module 'vue' { export interface ComponentCustomOptions { /** * Guard called when the router is navigating to the route that is rendering