fantasia-archive/src/store/module-example/mutations.ts

11 lines
243 B
TypeScript
Raw Normal View History

2021-07-10 04:38:42 +12:00
import { MutationTree } from 'vuex'
import { ExampleStateInterface } from './state'
const mutation: MutationTree<ExampleStateInterface> = {
someMutation (/* state: ExampleStateInterface */) {
// your code
}
}
export default mutation