diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-10-02 22:35:14 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-10-02 22:35:14 +0200 |
commit | 7a5ce8683993d056b68b52bfb9b37d09b7e71d2b (patch) | |
tree | 1c2177e33eecaf49abebff70cd1b674cebdbe06b /src-vue/src/vuex-shim.d.ts | |
parent | 22a7bd16852498a95f9733e228e126a644b9c3ed (diff) | |
download | FlightCore-7a5ce8683993d056b68b52bfb9b37d09b7e71d2b.tar.gz FlightCore-7a5ce8683993d056b68b52bfb9b37d09b7e71d2b.zip |
fix: store is now typed
Diffstat (limited to 'src-vue/src/vuex-shim.d.ts')
-rw-r--r-- | src-vue/src/vuex-shim.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src-vue/src/vuex-shim.d.ts b/src-vue/src/vuex-shim.d.ts new file mode 100644 index 00000000..1429115b --- /dev/null +++ b/src-vue/src/vuex-shim.d.ts @@ -0,0 +1,8 @@ +import { ComponentCustomProperties } from 'vue'
+import { Store } from 'vuex'
+
+declare module '@vue/runtime-core' {
+ interface ComponentCustomProperties {
+ $store: Store<State>
+ }
+}
|