mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Update line on methods, update TS definition to allow strings (#3802)
Fixes #3140 Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Vendored
+1
-1
@@ -74,7 +74,7 @@ export interface TransitionalOptions {
|
||||
|
||||
export interface AxiosRequestConfig<D = any> {
|
||||
url?: string;
|
||||
method?: Method;
|
||||
method?: Method | string;
|
||||
baseURL?: string;
|
||||
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
|
||||
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
|
||||
|
||||
Reference in New Issue
Block a user