Fix extends syntax
Some checks failed
Run Tests / test (pull_request) Failing after 2m4s

This commit is contained in:
thepaperpilot 2024-02-23 07:37:48 -06:00
parent 90d0307cf0
commit b88fa68874

View file

@ -6,15 +6,12 @@ interface CustomMatchers<R = unknown> {
toLogError(): R;
}
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace Vi {
declare module "vitest" {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Assertion extends CustomMatchers {}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface AsymmetricMatchersContaining extends CustomMatchers {}
}
}
expect.extend({
compare_tolerance(received: DecimalSource, expected: DecimalSource, tolerance?: number) {