direct-vuex
Advanced tools
Comparing version 0.6.11 to 0.6.12
{ | ||
"name": "direct-vuex", | ||
"version": "0.6.11", | ||
"version": "0.6.12", | ||
"description": "Use and implement your Vuex store with TypeScript types. Compatible with the Vue 3 composition API.", | ||
@@ -5,0 +5,0 @@ "author": "Paleo", |
@@ -139,2 +139,2 @@ # direct-vuex | ||
- **TSLint** from Microsoft (`ms-vscode.vscode-typescript-tslint-plugin`) | ||
* **TSLint** from Microsoft (`ms-vscode.vscode-typescript-tslint-plugin`) |
@@ -14,9 +14,9 @@ import { ActionContext, Store } from "vuex" | ||
export type ToDirectStore<O extends StoreOptions> = { | ||
readonly state: ToFlatType<DirectState<O>> | ||
getters: ToFlatType<DirectGetters<O>> | ||
commit: ToFlatType<DirectMutations<O>> | ||
dispatch: ToFlatType<DirectActions<O>> | ||
export type ToDirectStore<O extends StoreOptions> = ToFlatType<{ | ||
readonly state: DirectState<O> | ||
getters: DirectGetters<O> | ||
commit: DirectMutations<O> | ||
dispatch: DirectActions<O> | ||
original: VuexStore<O> | ||
} | ||
}> | ||
@@ -23,0 +23,0 @@ export type VuexStore<O extends StoreOptions> = Store<ToFlatType<DirectState<O>>> & { |
30317