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 | interface VueConstructor {
|
12 | axios: AxiosInstance;
|
13 | }
|
14 | }
|
15 |
|
16 | declare class VueAxios {
|
17 | static install: PluginFunction<AxiosInstance>;
|
18 | }
|
19 |
|
20 | export default VueAxios;
|