mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
14 lines
315 B
TypeScript
14 lines
315 B
TypeScript
import { ComponentCustomProperties } from 'vue'
|
|
import { Store } from 'vuex'
|
|
|
|
declare module '@vue/runtime-core' {
|
|
// declare your own store states
|
|
interface State {
|
|
count: number
|
|
}
|
|
|
|
// provide typings for `this.$store`
|
|
interface ComponentCustomProperties {
|
|
$store: Store<State>
|
|
}
|
|
} |