mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-18 21:19:18 +00:00
15 lines
339 B
TypeScript
15 lines
339 B
TypeScript
interface CustomMatchers<R = unknown> {
|
|
parserGot(value: unknown): R,
|
|
parserFailedWith(expected: string[]): R,
|
|
}
|
|
|
|
declare global {
|
|
namespace jest {
|
|
interface Expect extends CustomMatchers {}
|
|
interface Matchers<R> extends CustomMatchers<R> {}
|
|
interface InverseAsymmetricMatchers extends CustomMatchers {}
|
|
}
|
|
}
|
|
|
|
export {}
|