mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-05-19 03:32:59 +12:00
12 lines
272 B
TypeScript
12 lines
272 B
TypeScript
|
import { ActionTree } from 'vuex'
|
||
|
import { StateInterface } from '../index'
|
||
|
import { ExampleStateInterface } from './state'
|
||
|
|
||
|
const actions: ActionTree<ExampleStateInterface, StateInterface> = {
|
||
|
someAction (/* context */) {
|
||
|
// your code
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default actions
|