/** * `@types/jest-axe` declares its matcher on Jest's namespace, which Vitest does * not read. The runtime matcher works as-is (see test/setup.ts); only the type * has to be re-declared here. */ import 'vitest'; declare module 'vitest' { interface Matchers { toHaveNoViolations(): T; } }