feat(useApi): better interface
This commit is contained in:
19
app/types/http-method.ts
Normal file
19
app/types/http-method.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export type HttpMethod =
|
||||
| 'delete'
|
||||
| 'get'
|
||||
| 'GET'
|
||||
| 'HEAD'
|
||||
| 'PATCH'
|
||||
| 'POST'
|
||||
| 'PUT'
|
||||
| 'DELETE'
|
||||
| 'CONNECT'
|
||||
| 'OPTIONS'
|
||||
| 'TRACE'
|
||||
| 'head'
|
||||
| 'patch'
|
||||
| 'post'
|
||||
| 'put'
|
||||
| 'connect'
|
||||
| 'options'
|
||||
| 'trace';
|
||||
Reference in New Issue
Block a user