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
1 changed files with 0 additions and 10 deletions

View File

@ -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<TemplateContext> = {
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')
}