react-code-dataset / reselect /test /customMatchers.d.ts
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
297 Bytes
import type { Assertion, AsymmetricMatchersContaining } from 'vitest'
interface CustomMatchers<R = unknown> {
toBeMemoizedSelector(): R
}
declare module 'vitest' {
interface Assertion<T = any> extends CustomMatchers<T> {}
interface AsymmetricMatchersContaining extends CustomMatchers {}
}