request: {
delete: <T>(
path: string,
config?: AxiosRequestConfig<any>,
) => Promise<AxiosResponse<T, any>>;
get: <T>(
path: string,
config?: AxiosRequestConfig<any>,
) => Promise<AxiosResponse<T, any>>;
post: <T>(
path: string,
data?: any,
config?: AxiosRequestConfig<any>,
) => Promise<AxiosResponse<T, any>>;
put: <T>(
path: string,
data?: any,
config?: AxiosRequestConfig<any>,
) => Promise<AxiosResponse<T, any>>;
} = ...
Type declaration
delete: <T>(
path: string,
config?: AxiosRequestConfig<any>,
) => Promise<AxiosResponse<T, any>>
get: <T>(
path: string,
config?: AxiosRequestConfig<any>,
) => Promise<AxiosResponse<T, any>>
post: <T>(
path: string,
data?: any,
config?: AxiosRequestConfig<any>,
) => Promise<AxiosResponse<T, any>>
put: <T>(
path: string,
data?: any,
config?: AxiosRequestConfig<any>,
) => Promise<AxiosResponse<T, any>>
Request methods for Brawlhalla API