12 lines
277 B
TypeScript
12 lines
277 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;
|