Skip to content

Commit

Permalink
Allow uppercase methods in typings. (#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs authored and rootsher committed Sep 17, 2018
1 parent 81f0d28 commit 75c8b3f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions index.d.ts
Expand Up @@ -21,14 +21,14 @@ export interface AxiosProxyConfig {
protocol?: string;
}

export type Method =
| 'get'
| 'delete'
| 'head'

This comment has been minimized.

Copy link
@pm123

pm123 Jan 10, 2019

jj

| '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'
Expand Down

0 comments on commit 75c8b3f

Please sign in to comment.