aboutsummaryrefslogtreecommitdiff
path: root/src-vue/vuex-shim.d.ts
blob: cebc5ce86d821f1d1976df59205d881badc403af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { ComponentCustomProperties } from 'vue'
import { Store } from 'vuex'

declare module '@vue/runtime-core' {
    // Declare your own store states.
    interface State {
        count: number
    }

    interface ComponentCustomProperties {
        $store: Store<State>
    }
}