diff options
Diffstat (limited to 'src/store/index.ts')
-rw-r--r-- | src/store/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/index.ts b/src/store/index.ts index 44f933740..26bf4e571 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -21,7 +21,7 @@ export const ACTIONS = { export type AppState = FolderState & FeedState & ItemState & AppInfoState; type Func = (name: string, value: unknown) => void; -export type ActionParams = { commit: Func; dispatch: Func; state: AppState }; +export type ActionParams<T> = { commit: Func; dispatch: Func; state: T }; export default { modules: { |