Add vue shim

This commit is contained in:
Jan Bader 2022-02-05 14:27:20 +00:00
parent ddaf647d87
commit a7890bce16
2 changed files with 6 additions and 1 deletions

5
web/src/@types/shims-vue.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
declare module "*.vue" {
import { defineComponent } from "vue";
const component: ReturnType<typeof defineComponent>;
export default component;
}

View File

@ -1,5 +1,5 @@
import { ComponentCustomProperties } from 'vue'
import { State } from './store'
import { State } from '../store'
import { Store } from 'vuex'
declare module '@vue/runtime-core' {