Haris Razis
4 years ago
2 changed files with 10 additions and 3 deletions
@ -1,5 +1,5 @@ |
|||
declare module '*.vue' { |
|||
import type { DefineComponent } from 'vue' |
|||
const component: DefineComponent<{}, {}, any> |
|||
export default component |
|||
import type {DefineComponent} from 'vue' |
|||
const component: DefineComponent<{}, {}, any> |
|||
export default component |
|||
} |
|||
|
@ -0,0 +1,7 @@ |
|||
import { Store } from '@/store';// path to store file
|
|||
|
|||
declare module '@vue/runtime-core' { |
|||
interface ComponentCustomProperties { |
|||
$store: Store; |
|||
} |
|||
} |
Loading…
Reference in new issue