From 0258acdc8a6f02bd5de5e31611b4c821481bb519 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 11 May 2023 15:24:18 +0100 Subject: [PATCH] fix(nuxt): remove webstorm compatibility augmentation --- packages/nuxt/src/core/templates.ts | 10 ---------- 1 file changed, 10 deletions(-) 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') }