Upgrade Vue typings for Vue 3 compat
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
af2e09d410
commit
1b1ded1a83
|
@ -1,9 +1,8 @@
|
|||
declare module "*.vue" {
|
||||
import type { DefineComponent } from "vue";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
const component: DefineComponent<{}, {}, any>;
|
||||
export default component;
|
||||
declare module "vue" {
|
||||
import { CompatVue } from "@vue/runtime-dom";
|
||||
const Vue: CompatVue;
|
||||
export default Vue;
|
||||
export * from "@vue/runtime-dom";
|
||||
}
|
||||
|
||||
declare module "*.svg" {
|
||||
|
|
Loading…
Reference in New Issue