mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
vue-tsc 2.2.x runs on the old Volar core; 3.x cuts a full typecheck of the 196k-LOC frontend from 47.2s to 36.1s with no new diagnostics. The declared TypeScript floor of ^5.7.3 already resolved to 5.9.3, so raising it to ^5.9.3 only makes the constraint honest and satisfies @vue/tsconfig 0.9's `typescript >= 5.8` peer. erasableSyntaxOnly makes the existing style a compiler rule: Vite strips types with esbuild, so enums, namespaces and parameter properties would not survive the transform. The codebase already has none, and the flag reports 0 errors. TypeScript 6 and 7 are deliberately not taken. 7.0 is the native port and drops the JS compiler API, which both vue-tsc and typescript-eslint still require, so each fails to start under it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvDZhPHsNguuX5zqFjDfSD