Skip to content

Commit 4468378

Browse files
authored
fix: remove recursive type reference in vitest types (#636)
1 parent abba961 commit 4468378

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types/vitest.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import {type expect} from 'vitest'
1+
22
import {type TestingLibraryMatchers} from './matchers'
33

44
declare module 'vitest' {
55
interface Assertion<T = any>
66
extends TestingLibraryMatchers<
7-
ReturnType<typeof expect.stringContaining>,
7+
any,
88
T
99
> {}
1010
interface AsymmetricMatchersContaining
1111
extends TestingLibraryMatchers<
12-
ReturnType<typeof expect.stringContaining>,
12+
any,
1313
any
1414
> {}
1515
}

0 commit comments

Comments
 (0)