Skip to content

Commit

Permalink
fix: lastOptions returns RequestInit not MockOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Aug 28, 2024
1 parent e98d937 commit 591926a
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 591926a

Please sign in to comment.