UNPKG

@reduxjs/toolkit

Version:

The official, opinionated, batteries-included toolset for efficient Redux development

18 lines (14 loc) 506 B
import type { Assertion, AsymmetricMatchersContaining } from 'vitest' interface CustomMatchers<R = unknown> { toHaveConsoleOutput(expectedOutput: string): Promise<R> 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> {} } }