mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
14 lines
504 B
TypeScript
14 lines
504 B
TypeScript
import 'vitest';
|
|
|
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
|
interface CustomMatchers<R = unknown> {
|
|
toSatisfy: (predicate: (value: string) => boolean) => R,
|
|
}
|
|
|
|
declare module 'vitest' {
|
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
|
interface Assertion<T = any> extends CustomMatchers<T> {}
|
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
|
|
interface AsymmetricMatchersContaining extends CustomMatchers {}
|
|
}
|