This commit is contained in:
周建
2023-06-25 14:06:14 +08:00
parent 7ca76a5304
commit 3b2d308ccc
5 changed files with 150 additions and 134 deletions

12
types/global.d.ts vendored
View File

@ -19,17 +19,7 @@ declare global {
| 'application/x-www-form-urlencoded'
| 'multipart/form-data'
type AxiosMethod =
| 'get'
| 'post'
| 'delete'
| 'put'
| 'patch'
| 'GET'
| 'POST'
| 'DELETE'
| 'PUT'
| 'PATCH'
type AxiosMethod = 'get' | 'post' | 'delete' | 'put' | 'GET' | 'POST' | 'DELETE' | 'PUT'
type AxiosResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream'