2
0
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:
Ken Powers
2018-09-17 12:25:07 -04:00
committed by Konrad Kowalski
parent 81f0d28eb5
commit 75c8b3f146
Vendored
+8 -8
View File
@@ -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'