Skip to content

Commit

Permalink
Merge pull request #680 from wolfy1339/patch-1
Browse files Browse the repository at this point in the history
fix: update types to be compatible with v10
  • Loading branch information
wheresrhys authored Jun 18, 2024
2 parents b30e297 + 8a0cffe commit aba4e0b
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 aba4e0b

Please sign in to comment.