mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Allow uppercase methods in typings. (#1781)
This commit is contained in:
committed by
Konrad Kowalski
parent
81f0d28eb5
commit
75c8b3f146
Vendored
+8
-8
@@ -21,14 +21,14 @@ export interface AxiosProxyConfig {
|
|||||||
protocol?: string;
|
protocol?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Method =
|
export type Method =
|
||||||
| 'get'
|
| 'get' | 'GET'
|
||||||
| 'delete'
|
| 'delete' | 'DELETE'
|
||||||
| 'head'
|
| 'head' | 'HEAD'
|
||||||
| 'options'
|
| 'options' | 'OPTIONS'
|
||||||
| 'post'
|
| 'post' | 'POST'
|
||||||
| 'put'
|
| 'put' | 'PUT'
|
||||||
| 'patch'
|
| 'patch' | 'PATCH'
|
||||||
|
|
||||||
export type ResponseType =
|
export type ResponseType =
|
||||||
| 'arraybuffer'
|
| 'arraybuffer'
|
||||||
|
|||||||
Reference in New Issue
Block a user