Skip to content

Commit

Permalink
Merge pull request #815 from wheresrhys/rhys/fix-lastoptions-type
Browse files Browse the repository at this point in the history
fix: lastOptions returns RequestInit not MockOptions
  • Loading branch information
wheresrhys authored Aug 28, 2024
2 parents e98d937 + 591926a commit 24d9683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fetch-mock/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ declare namespace fetchMock {
lastOptions(
filter?: InspectionFilter,
options?: InspectionOptions,
): MockOptions | undefined;
): RequestInit | undefined;

/**
* Returns the options for the call to fetch matching the given filter.
Expand Down

0 comments on commit 24d9683

Please sign in to comment.