Skip to content

Commit 591926a

Browse files
committed
fix: lastOptions returns RequestInit not MockOptions
1 parent e98d937 commit 591926a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fetch-mock/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ declare namespace fetchMock {
655655
lastOptions(
656656
filter?: InspectionFilter,
657657
options?: InspectionOptions,
658-
): MockOptions | undefined;
658+
): RequestInit | undefined;
659659

660660
/**
661661
* Returns the options for the call to fetch matching the given filter.

0 commit comments

Comments
 (0)