We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AxiosStatic
1 parent 150aebf commit 9223a57Copy full SHA for 9223a57
types/index.d.ts
@@ -1,8 +1,8 @@
1
-import { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios'
+import { AxiosError, AxiosRequestConfig, AxiosResponse, AxiosStatic } from 'axios'
2
import Vue from 'vue'
3
import './vuex'
4
5
-interface NuxtAxiosInstance extends AxiosInstance {
+interface NuxtAxiosInstance extends AxiosStatic {
6
$request<T = any>(config: AxiosRequestConfig): Promise<T>
7
$get<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>
8
$delete<T = any>(url: string, config?: AxiosRequestConfig): Promise<T>
0 commit comments