fix(nuxt): remove webstorm compatibility augmentation

This commit is contained in:
Daniel Roe 2023-05-11 15:24:18 +01:00
parent 93ba5e7cd2
commit 0258acdc8a

View File

@ -111,10 +111,6 @@ declare module '#app' {
declare module 'vue' { declare module 'vue' {
interface ComponentCustomProperties extends NuxtAppInjections { } interface ComponentCustomProperties extends NuxtAppInjections { }
} }
// TODO: remove when webstorm has support for augumenting 'vue' directly
declare module '@vue/runtime-core' {
interface ComponentCustomProperties extends NuxtAppInjections { }
}
export { } export { }
` `
@ -164,12 +160,6 @@ export const schemaTemplate: NuxtTemplate<TemplateContext> = {
interface ComponentCustomProperties { interface ComponentCustomProperties {
$config: RuntimeConfig $config: RuntimeConfig
} }
}`,
// TODO: remove when webstorm has support for augumenting 'vue' directly
`declare module '@vue/runtime-dom' {
interface ComponentCustomProperties {
$config: RuntimeConfig
}
}` }`
].join('\n') ].join('\n')
} }