Fix extends syntax
All checks were successful
Run Tests / test (pull_request) Successful in 2m2s

This commit is contained in:
thepaperpilot 2024-02-23 07:37:48 -06:00
parent c2654a1c66
commit 444e155b77

View file

@ -6,14 +6,11 @@ interface CustomMatchers<R = unknown> {
toLogError(): R;
}
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace Vi {
// 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 {}
}
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({