mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nuxt): remove webstorm compatibility augmentation
This commit is contained in:
parent
93ba5e7cd2
commit
0258acdc8a
@ -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')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user