mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
13 lines
480 B
TypeScript
13 lines
480 B
TypeScript
import type { Channel } from '../src/db/entities/Channel.ts';
|
|
|
|
interface CustomMatchers<R = unknown> {
|
|
toMatchChannel: (channel: Channel) => R;
|
|
}
|
|
|
|
declare module 'vitest' {
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-empty-object-type
|
|
interface Assertion<T = any> extends CustomMatchers<T> {}
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
interface AsymmetricMatchersContaining extends CustomMatchers {}
|
|
}
|