We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566d57e commit bc63bd3Copy full SHA for bc63bd3
packages/cli-testing-library/src/vitest.ts
@@ -7,8 +7,11 @@ import type { CLITestingLibraryMatchers } from "./matchers/types";
7
expect.extend(extensions);
8
9
declare module "vitest" {
10
- interface Assertion<T = any> extends CLITestingLibraryMatchers<any> {}
+ interface Assertion<T = any> extends CLITestingLibraryMatchers<T> {}
11
12
interface AsymmetricMatchersContaining
13
extends CLITestingLibraryMatchers<any> {}
14
+
15
+ // Vitest 3.2.0+
16
+ interface Matchers<T = any> extends CLITestingLibraryMatchers<T> {}
17
}
0 commit comments