source: node_modules/@reduxjs/toolkit/src/tests/utils/CustomMatchers.d.ts

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 431 bytes
Line 
1import type { Assertion, AsymmetricMatchersContaining } from 'vitest'
2
3interface CustomMatchers<R = unknown> {
4 toMatchSequence(...matchers: Array<(arg: any) => boolean>): R
5}
6
7declare module 'vitest' {
8 interface Assertion<T = any> extends CustomMatchers<T> {}
9 interface AsymmetricMatchersContaining extends CustomMatchers {}
10}
11
12declare global {
13 namespace jest {
14 interface Matchers<R> extends CustomMatchers<R> {}
15 }
16}
Note: See TracBrowser for help on using the repository browser.