File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export interface AxiosProxyConfig {
22
22
23
23
export interface AxiosRequestConfig {
24
24
url ?: string ;
25
- method ?: string ;
25
+ method ?: 'get' | 'delete' | 'head' | 'options' | 'post' | 'put' | 'patch' ;
26
26
baseURL ?: string ;
27
27
transformRequest ?: AxiosTransformer | AxiosTransformer [ ] ;
28
28
transformResponse ?: AxiosTransformer | AxiosTransformer [ ] ;
@@ -34,7 +34,7 @@ export interface AxiosRequestConfig {
34
34
withCredentials ?: boolean ;
35
35
adapter ?: AxiosAdapter ;
36
36
auth ?: AxiosBasicCredentials ;
37
- responseType ?: string ;
37
+ responseType ?: 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' ;
38
38
xsrfCookieName ?: string ;
39
39
xsrfHeaderName ?: string ;
40
40
onUploadProgress ?: ( progressEvent : any ) => void ;
You can’t perform that action at this time.
0 commit comments