parent
4795bb3cbc
commit
078b5c1a3a
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
|
||||
export enum Method {
|
||||
HEAD = 'HEAD',
|
||||
GET = 'GET',
|
||||
PUT = 'PUT',
|
||||
POST = 'POST',
|
||||
|
@ -11,4 +12,4 @@ export type Endpoint<P = void> = Readonly<{
|
|||
method: Method;
|
||||
url: string | ((params: P) => string);
|
||||
headers?: Record<string, string>;
|
||||
}>
|
||||
}>
|
||||
|
|
Reference in a new issue