2
0
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:
Rijk van Zanten
2022-03-08 01:26:07 -05:00
committed by GitHub
parent 224ed940e1
commit 8e67551177
2 changed files with 2 additions and 2 deletions
Vendored
+1 -1
View File
@@ -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[];