import { IDictionaryState } from './modules/dictionary' import { RootState } from '.' const getters = { dictionaryGetter: (state: RootState) => (key: keyof IDictionaryState) => state.dictionary ? state.dictionary[key] : [], } export default getters