extensions.d.ts10 lines · main
| 1 | import 'vitest' |
| 2 | |
| 3 | interface CustomMatchers<R = unknown> { |
| 4 | toMatchCriteria(criteria: string): R |
| 5 | } |
| 6 | |
| 7 | declare module 'vitest' { |
| 8 | interface Assertion<T = any> extends CustomMatchers<T> {} |
| 9 | interface AsymmetricMatchersContaining extends CustomMatchers {} |
| 10 | } |