// This file isn't executed; we only care that typescript can successfully // build/typecheck. It is a smoke test that our build process is producing a // basically-reasonable index.d.ts. // Detailed tests of individual types should instead be covered by unit tests. import DefaultImportReporter from '../dist/axeReporterEarl.js'; // import axe from 'axe-core'; // See https://stackoverflow.com/a/55541672 type IsAny = 0 extends 1 & T ? true : false; // If the imports don't have typings assigned, these will fail // with "ts(2322): Type 'false' is not assignable to type 'true'." (x: IsAny): false => x; // TODO: this doesn't work as our types are broken // axe.configure({ reporter: DefaultImportReporter });