From 8a0cffe012e056fb231a0013c40bac4fb26843eb Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Mon, 17 Jun 2024 13:23:26 -0400 Subject: [PATCH] fix: update types to be compatible with v10 --- types/index.d.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 9ef31cb6..39487abb 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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;