From 4468378fb4986018e0bacdebd02244decb9f0718 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 18 Oct 2024 05:04:25 +1300 Subject: [PATCH] fix: remove recursive type reference in vitest types (#636) --- types/vitest.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/vitest.d.ts b/types/vitest.d.ts index 97f59b98..ceb7cfa9 100644 --- a/types/vitest.d.ts +++ b/types/vitest.d.ts @@ -1,15 +1,15 @@ -import {type expect} from 'vitest' + import {type TestingLibraryMatchers} from './matchers' declare module 'vitest' { interface Assertion extends TestingLibraryMatchers< - ReturnType, + any, T > {} interface AsymmetricMatchersContaining extends TestingLibraryMatchers< - ReturnType, + any, any > {} }