Add vue shim
This commit is contained in:
parent
ddaf647d87
commit
a7890bce16
5
web/src/@types/shims-vue.d.ts
vendored
Normal file
5
web/src/@types/shims-vue.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
declare module "*.vue" {
|
||||||
|
import { defineComponent } from "vue";
|
||||||
|
const component: ReturnType<typeof defineComponent>;
|
||||||
|
export default component;
|
||||||
|
}
|
@ -1,5 +1,5 @@
|
|||||||
import { ComponentCustomProperties } from 'vue'
|
import { ComponentCustomProperties } from 'vue'
|
||||||
import { State } from './store'
|
import { State } from '../store'
|
||||||
import { Store } from 'vuex'
|
import { Store } from 'vuex'
|
||||||
|
|
||||||
declare module '@vue/runtime-core' {
|
declare module '@vue/runtime-core' {
|
Loading…
x
Reference in New Issue
Block a user