1 | /**
|
2 | * Extends interfaces in Vue.js
|
3 | */
|
4 |
|
5 | import Vue, { ComponentOptions } from "vue";
|
6 | import { Store } from "./index";
|
7 |
|
8 | declare module "vue/types/options" {
|
9 | interface ComponentOptions<V extends Vue> {
|
10 | store?: Store<any>;
|
11 | }
|
12 | }
|
13 |
|
14 | declare module "vue/types/vue" {
|
15 | interface Vue {
|
16 | $store: Store<any>;
|
17 | }
|
18 | }
|