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