mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-05-06 05:13:24 +12:00
12 lines
272 B
TypeScript
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
|