diff --git a/packages/nuxt/src/core/templates.ts b/packages/nuxt/src/core/templates.ts index 440c415166bf..b328bb7996fd 100644 --- a/packages/nuxt/src/core/templates.ts +++ b/packages/nuxt/src/core/templates.ts @@ -111,10 +111,6 @@ declare module '#app' { declare module 'vue' { interface ComponentCustomProperties extends NuxtAppInjections { } } -// TODO: remove when webstorm has support for augumenting 'vue' directly -declare module '@vue/runtime-core' { - interface ComponentCustomProperties extends NuxtAppInjections { } -} export { } ` @@ -164,12 +160,6 @@ export const schemaTemplate: NuxtTemplate = { interface ComponentCustomProperties { $config: RuntimeConfig } - }`, - // TODO: remove when webstorm has support for augumenting 'vue' directly - `declare module '@vue/runtime-dom' { - interface ComponentCustomProperties { - $config: RuntimeConfig - } }` ].join('\n') }