Skip to content

Commit

Permalink
fix(nuxt): remove webstorm compatibility augmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 11, 2023
1 parent 93ba5e7 commit 0258acd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/nuxt/src/core/templates.ts
Expand Up @@ -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 { }
`
Expand Down Expand Up @@ -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')
}
Expand Down

0 comments on commit 0258acd

Please sign in to comment.