From de2b594704eea1b0d44ba133df9872241fd24827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Moln=C3=A1r?= Date: Mon, 20 Aug 2018 14:37:34 +0100 Subject: [PATCH] Getters have other getters as second parameter --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 35cbc64..8320a08 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,7 @@ export function Handler(target: any, key: string) { * Vuex getter handler specified in Vuex options. */ export type GetterHandler = - (state: TModuleState, rootState: TRootState) => TResult; + (state: TModuleState, getters: any, rootState: TRootState) => TResult; /** * Vuex action handler which takes payload as specified in Vuex options.