Files
OmniRoute/tests
Xiangzhe 533a6c0ce4 fix(lint): type dynamic core imports in capture-critical-db-state test (#9985)
0ff0490ada (#10906) rewrote this suite keeping four module-level holders
typed as any for the dynamically imported src/lib/db/core.ts exports —
4 new unsuppressed @typescript-eslint/no-explicit-any errors that failed
the 'No new ESLint warnings' fast gate (npm run lint:json -- --max-warnings 0,
exit 1 on the pure tip; CI run 32403951361).

Replaces the any holders with a type-only CoreModule reference
(typeof import(...)), so the runtime dynamic-import timing that motivates
the pattern (DATA_DIR must be set before core.ts loads) stays untouched.
Purely typal: file lints clean and its 7 assertions still pass.
2026-08-22 15:33:17 -03:00
..