Skip to content

Commit

Permalink
fix: update vue-shims for Vue v3.0.1
Browse files Browse the repository at this point in the history
vuejs/core@6aa2256 intriduced a change in `DefineComponent` type, that results in a broken bare CLI app that would use VTU, as `mount` will not compile.

This relaxes the type definitation by using generic `any`.

Fixes #5974
  • Loading branch information
cexbrayat committed Oct 16, 2020
1 parent 5898fcb commit 5c1b57e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,5 +1,5 @@
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent
const component: DefineComponent<any, any, any>
export default component
}

0 comments on commit 5c1b57e

Please sign in to comment.