修复一些命名和拼写错误问题,修复一些BUG

This commit is contained in:
周建
2023-06-25 13:34:27 +08:00
parent 9456a6f31c
commit 7ca76a5304
12 changed files with 149 additions and 171 deletions

12
types/global.d.ts vendored
View File

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