Skip to content

Commit 3fcc061

Browse files
committed
Revert "adjust vitest ambient declaration file according to vitest docs (testing-library#612)"
This reverts commit 06d19ba.
1 parent 4723de3 commit 3fcc061

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

types/vitest.d.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
import {type expect} from 'vitest'
22
import {type TestingLibraryMatchers} from './matchers'
33

4-
declare module 'vitest' {
5-
interface Assertion<T = any>
4+
export {}
5+
declare module '@vitest/expect' {
6+
interface JestAssertion<T = any>
67
extends TestingLibraryMatchers<
78
ReturnType<typeof expect.stringContaining>,
89
T
910
> {}
10-
interface AsymmetricMatchersContaining
11-
extends TestingLibraryMatchers<
12-
ReturnType<typeof expect.stringContaining>,
13-
any
14-
> {}
1511
}

0 commit comments

Comments
 (0)