diff --git a/apisauce.d.ts b/apisauce.d.ts index 8258914..f5567ed 100644 --- a/apisauce.d.ts +++ b/apisauce.d.ts @@ -93,14 +93,14 @@ export interface ApisauceInstance { /** Gets the current base URL used by axios */ getBaseURL: () => string - get: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> - delete: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> - head: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> - post: (url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise> - put: (url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise> - patch: (url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise> - link: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> - unlink: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> + get: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> + delete: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> + head: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> + post: (url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise> + put: (url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise> + patch: (url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise> + link: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> + unlink: (url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise> } export function isCancel(value: any): boolean