@reduxjs/toolkit
Version:
The official, opinionated, batteries-included toolset for efficient Redux development
17 lines (13 loc) • 431 B
TypeScript
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> {}
}
}