mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
21 lines
500 B
TypeScript
21 lines
500 B
TypeScript
import { ComponentCustomProperties } from 'vue'
|
|
import { Store } from 'vuex'
|
|
import { TrainFilterType } from './scripts/enums/TrainFilterType';
|
|
|
|
declare module '@vue/runtime-core' {
|
|
// declare your own store states
|
|
interface State {
|
|
count: number
|
|
}
|
|
|
|
// provide typings for `this.$store`
|
|
interface ComponentCustomProperties {
|
|
$store: Store<State>
|
|
}
|
|
|
|
// Train filter for TrainView
|
|
interface TrainFilter {
|
|
id: TrainFilterType;
|
|
isActive: boolean;
|
|
}
|
|
} |