mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +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' {
|
||||
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')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user