gs-port / node_modules /@reduxjs /toolkit /src /tests /utils /CustomMatchers.d.ts
Scribbler310's picture
feat: enhance dashboard
c2b7eb3 verified
import type { Assertion, AsymmetricMatchersContaining } from 'vitest'
interface CustomMatchers<R = unknown> {
toMatchSequence(...matchers: Array<(arg: any) => boolean>): R
}
declare module 'vitest' {
interface Assertion<T = any> extends CustomMatchers<T> {}
interface AsymmetricMatchersContaining extends CustomMatchers {}
}
declare global {
namespace jest {
interface Matchers<R> extends CustomMatchers<R> {}
}
}