#17268·astro

astro/check thinks typescript is not installed when using TypeScript 7

Author: robertbakerCreated Jul 2, 2026Updated Sep 15, 2026
Labelsecosystem: upstreampkg: astro- P4: importantpkg: language-toolstriage: unable to fix

Astro Info

Astro                    v7.0.5
Node                     v24.18.0
System                   Windows (x64)
Package Manager          bun
Output                   static
Adapter                  none
Integrations             fix-mdx-astro7
                         @astrojs/mdx
                         astro-icon

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

Need to be compatible with TS 7. Currently it think ts is not installed and prompts to install it. Run npm run check or astro check to see the problem.

What's the expected result?

It works and doesn't prompt to install typescript

Link to Minimal Reproducible Example

https://stackblitz.com/edit/withastro-astro-eatjhone?file=package.json

Participation

  • I am willing to submit a pull request for this issue.