fantasia-archive/src/store/module-example/getters.ts
2021-07-09 18:38:42 +02:00

12 lines
272 B
TypeScript

import { GetterTree } from 'vuex'
import { StateInterface } from '../index'
import { ExampleStateInterface } from './state'
const getters: GetterTree<ExampleStateInterface, StateInterface> = {
someAction (/* context */) {
// your code
}
}
export default getters