blob: c8a55f99a06ffa9423b6b532aac8a4935db36a37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { Store } from 'vuex';
import PeerTeacher from './models/PeerTeacher';
import Lab from './models/Lab';
declare module '@vue/runtime-core' {
// declare your own store states
interface State {
peerTeachers: Map<number, PeerTeacher>,
labs: Map<string, Lab>
}
// provide typings for `this.$store`
interface ComponentCustomProperties {
$store: Store<State>
}
}
|