10 lines
217 B
TypeScript
10 lines
217 B
TypeScript
import { Store } from 'vuex';
|
|
import { State } from '@/store/state';
|
|
|
|
declare module '@vue/runtime-core' {
|
|
// provide typings for `this.$store`
|
|
interface ComponentCustomProperties {
|
|
$store: Store<State>
|
|
}
|
|
}
|