Skip to content

Commit 5c5a914

Browse files
marcosvega91kettanaito
authored andcommitted
refactor: drop response
1 parent 0a06af1 commit 5c5a914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const createFetchRequestParameters = (input: MockedRequest) => {
3838
export const fetch = (
3939
input: string | MockedRequest,
4040
requestInit: RequestInit = {},
41-
): Promise<Response> => {
41+
) => {
4242
// Keep the default `window.fetch()` call signature
4343
if (typeof input === 'string') {
4444
return useFetch(input, augmentRequestInit(requestInit))

0 commit comments

Comments
 (0)