13 lines
310 B
TypeScript

import { ROOT_STORE } from '@/store/constants'
export interface IRootState {
root: boolean
language: string
errorMessage: string | null
}
export interface IRootGetters {
[ROOT_STORE.GETTERS.ERROR_MESSAGE](state: IRootState): string | null
[ROOT_STORE.GETTERS.LANGUAGE](state: IRootState): string
}