diff --git a/packages/fetch-mock/types/index.test-d.ts b/packages/fetch-mock/types/index.test-d.ts index aeb82460..d03e7790 100644 --- a/packages/fetch-mock/types/index.test-d.ts +++ b/packages/fetch-mock/types/index.test-d.ts @@ -113,7 +113,7 @@ lastUrl = fetchMock.lastUrl("http://test.com", "GET"); lastUrl = fetchMock.lastUrl("http://test.com", { method: "GET", }); -let lastOptions: (fetchMock.MockOptions|undefined) = fetchMock.lastOptions(); +let lastOptions: (RequestInit|undefined) = fetchMock.lastOptions(); lastOptions = fetchMock.lastOptions(true); lastOptions = fetchMock.lastOptions("http://test.com"); lastOptions = fetchMock.lastOptions(/https?:\/\/test.com/);