This commit is contained in:
rca 2024-07-21 22:34:34 +09:00
parent 00a87e78bb
commit d44938546f

View File

@ -3,8 +3,8 @@ import { RootStateInterface } from '../index';
import { CacheStateInterface } from './state'; import { CacheStateInterface } from './state';
const getters: GetterTree<CacheStateInterface, RootStateInterface> = { const getters: GetterTree<CacheStateInterface, RootStateInterface> = {
someGetter (/* context */) { getTasks: (state: CacheStateInterface) => {
// your code return state.tasks;
} }
}; };