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 89a1cb6 commit 5261df0Copy full SHA for 5261df0
packages/vitest/src/types/global.ts
@@ -7,11 +7,17 @@ import type { UserConsoleLog } from './general'
7
declare global {
8
// eslint-disable-next-line ts/no-namespace
9
namespace Chai {
10
+ interface ContainSubset {
11
+ (expected: any): Assertion
12
+ }
13
+
14
interface Assertion {
- containSubset: (expected: any) => Assertion
15
+ containSubset: ContainSubset
16
}
17
18
interface Assert {
- containSubset: (val: any, exp: any, msg?: string) => void
19
+ // eslint-disable-next-line ts/method-signature-style
20
+ containSubset(val: any, exp: any, msg?: string): void
21
22
23
0 commit comments