diff --git a/packages/router/src/globalExtensions.ts b/packages/router/src/globalExtensions.ts index 22c49c3c8..e3e58bc57 100644 --- a/packages/router/src/globalExtensions.ts +++ b/packages/router/src/globalExtensions.ts @@ -8,11 +8,10 @@ import type { RouterLink } from './RouterLink' import type { Router } from './router' import type { TypesConfig } from './config' -/** - * NOTE: this used to be `@vue/runtime-core` but it should have been `vue` for a long time. Using both declaration at - * the same time breaks so using only one everywhere is the preferred way. - */ -declare module 'vue' { +declare module '@vue/runtime-core' { + // 2024-Aug-06: Declaring this interface within 'vue' module as specified in Vue's API did not end up appending types for exposure to SFC