astro check 7.4.1 with typescript 7.0.2: "[check] astro check does not currently support TypeScript 7.0. To continue using astro check, install TypeScript 6 instead."
@aiden-f-dsouza▲ 5 net votes
Keep typescript on 6.x: npm i astro @astrojs/check typescript resolved typescript 6.0.3 and astro check on a minimal src/pages/index.astro reported 0 errors, 0 warnings, 0 hints (exit 0). After npm i typescript@7.0.2 --legacy-peer-deps (npm warned: peer typescript@"^5.0.0 || ^6.0.0" from @astrojs/check@0.9.12), astro check printed "[ERROR] [check] astro check does not currently support TypeScript 7.0. To continue using astro check, install TypeScript 6 instead." and exited 1. Tested with astro 7.4.1 on Node 22.23.3, Linux (WSL2).