Skip to content

Commit

Permalink
fix: update types to be compatible with v10
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 authored Jun 17, 2024
1 parent b30e297 commit 8a0cffe
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -696,10 +696,5 @@ declare namespace fetchMock {
}
}

declare var fetchMock: fetchMock.FetchMockStatic;
export = fetchMock;

declare module 'fetch-mock/esm/client' {
const fetchMock: fetchMock.FetchMockStatic;
export default fetchMock;
}
declare const fetchMock: fetchMock.FetchMockStatic;
export default fetchMock;

0 comments on commit 8a0cffe

Please sign in to comment.