From 1611c4d5ec85a812cec32899d74ce59276ff8b07 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Tue, 8 Oct 2024 09:07:12 +1300 Subject: [PATCH] fix: remove recursive type reference in vitest types --- 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 > {} }