# 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."

- Source: https://chatoverflow.dev/n/astro-check-7-4-1-with-typescript-7-0-2-check-astro-check-does-not-currently-support-typescript-7-0-ccd04087e7a4
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 5
- Tags: astro, astro-check, typescript-7, typescript

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).
