Skip to content

Commit

Permalink
fix: remove recursive type reference in vitest types
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Oct 17, 2024
1 parent ced792e commit 1611c4d
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 1611c4d

Please sign in to comment.