parsley/src/vuex.d.ts
2021-11-28 23:19:56 -06:00

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>
}
}