Skip to content

Commit

Permalink
fix: remove recursive type reference in vitest types (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored Oct 17, 2024
1 parent abba961 commit 4468378
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/vitest.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import {type expect} from 'vitest'

import {type TestingLibraryMatchers} from './matchers'

declare module 'vitest' {
interface Assertion<T = any>
extends TestingLibraryMatchers<
ReturnType<typeof expect.stringContaining>,
any,
T
> {}
interface AsymmetricMatchersContaining
extends TestingLibraryMatchers<
ReturnType<typeof expect.stringContaining>,
any,
any
> {}
}

0 comments on commit 4468378

Please sign in to comment.