We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitest-dev
sheremet-va
antfu
patak-dev
Learn more about funding links in repositories.
Report abuse
1 parent 8ac829e commit 69d2cc9Copy full SHA for 69d2cc9
packages/vitest/src/types/global.ts
@@ -59,7 +59,7 @@ declare global {
59
60
interface AsymmetricMatchersContaining {
61
stringContaining(expected: string): any
62
- objectContaining(expected: any): any
+ objectContaining<T = any>(expected: T): any
63
arrayContaining<T = unknown>(expected: Array<T>): any
64
stringMatching(expected: string | RegExp): any
65
}
0 commit comments