13 lines
310 B
TypeScript
Raw Normal View History

2021-08-11 21:12:20 +02:00
import { ROOT_STORE } from '@/store/constants'
2021-08-11 18:33:02 +02:00
export interface IRootState {
root: boolean
language: string
errorMessage: string | null
}
2021-08-11 21:12:20 +02:00
export interface IRootGetters {
[ROOT_STORE.GETTERS.ERROR_MESSAGE](state: IRootState): string | null
[ROOT_STORE.GETTERS.LANGUAGE](state: IRootState): string
2021-08-11 21:12:20 +02:00
}