@astrojs/ts-plugin@1.10.11
Fixed 1
- Prevent Astro's ambient types from leaking into unrelated TypeScript projects in monorepos with hoisted node_modules by only injecting types when the project actually depends on astro or has an astro.config file
From Astro
Patch Changes
- #17668
bef9db5Thanks @lazerg! - Fixes Astro's ambient types leaking into unrelated TypeScript projects. In a monorepo with hoistednode_modules, the plugin found the sharedastroinstall from any project and injectedenv.d.tsandastro-jsx.d.tsinto it, which pulled@types/nodeinto projects that never asked for it. The plugin now only injects those types when the project actually depends onastroor has anastro.config.*file.