mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +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;
|
||||
}
|
||||
|
||||
export type Method =
|
||||
| 'get'
|
||||
| 'delete'
|
||||
| 'head'
|
||||
| 'options'
|
||||
| 'post'
|
||||
| 'put'
|
||||
| 'patch'
|
||||
export type Method =
|
||||
| 'get' | 'GET'
|
||||
| 'delete' | 'DELETE'
|
||||
| 'head' | 'HEAD'
|
||||
| 'options' | 'OPTIONS'
|
||||
| 'post' | 'POST'
|
||||
| 'put' | 'PUT'
|
||||
| 'patch' | 'PATCH'
|
||||
|
||||
export type ResponseType =
|
||||
| 'arraybuffer'
|
||||
|
||||
Reference in New Issue
Block a user