Skip to content

Commit

Permalink
refactor(request): format fetch-types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 committed Apr 24, 2024
1 parent 9db30c7 commit b70f9d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/request/fetch-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ export interface FastjsRequestAtom {
}

export interface FastjsRequestAPI {
send: (method: RequestMethod, data?: RequestData, url?: string) => FastjsRequest;
send: (
method: RequestMethod,
data?: RequestData,
url?: string
) => FastjsRequest;
get: (data?: RequestData, url?: string) => FastjsRequest;
post: (data?: RequestData, url?: string) => FastjsRequest;
put: (data?: RequestData, url?: string) => FastjsRequest;
Expand Down

0 comments on commit b70f9d4

Please sign in to comment.