Files
tunarr/server/tests/vitest.d.ts
2025-10-02 07:29:25 -04:00

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 {}
}