1 | import Vue, {PluginFunction, PluginObject} from "vue";
|
2 | import {AxiosInstance} from "axios";
|
3 |
|
4 | declare module "vue/types/vue" {
|
5 |
|
6 | interface Vue {
|
7 | axios: AxiosInstance;
|
8 | $http: AxiosInstance;
|
9 | }
|
10 |
|
11 | }
|
12 |
|
13 | declare class VueAxios {
|
14 | static install: PluginFunction<AxiosInstance>;
|
15 | }
|
16 |
|
17 | export default VueAxios;
|