import { MutationTree } from 'vuex'; import { simulationSetupStateInterface } from './state'; const mutation: MutationTree = { setIsShowingHelpForInputWithUnits (state: simulationSetupStateInterface, newVal: boolean) { // your code state.isShowingHelpForInputWithUnits = newVal } }; export default mutation;