Upgrade Vue typings for Vue 3 compat

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-17 18:24:55 +01:00
parent af2e09d410
commit 1b1ded1a83
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 5 additions and 6 deletions

11
js/src/shims-vue.d.ts vendored
View File

@ -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" {