UNPKG

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