aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/vuex-shim.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src/vuex-shim.d.ts')
-rw-r--r--src-vue/src/vuex-shim.d.ts8
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>
+ }
+}