diff --git a/types/vitest.d.ts b/types/vitest.d.ts index 97f59b98..a19295be 100644 --- a/types/vitest.d.ts +++ b/types/vitest.d.ts @@ -1,15 +1,11 @@ import {type expect} from 'vitest' import {type TestingLibraryMatchers} from './matchers' -declare module 'vitest' { - interface Assertion +export {} +declare module '@vitest/expect' { + interface JestAssertion extends TestingLibraryMatchers< ReturnType, T > {} - interface AsymmetricMatchersContaining - extends TestingLibraryMatchers< - ReturnType, - any - > {} }