Open codethief opened 3 months ago
Hello @codethief. Please provide a minimal reproduction using a GitHub repository or at least sharing the file where the issue happen. Issues marked with needs repro
will be closed if they have no activity within 3 days.
@Princesseuh I added a minimal reproduction, see above.
Describe the Bug
This is a follow-up to my message here.
Passing a "solution-style" tsconfig.json to
astro check
, whichreferences
other projects (tsconfigs), will make the type checker silently accept type errors associated with types imported from those other projects.The issue might be related to https://github.com/withastro/language-tools/issues/649 since project references rely on emitting type declarations.
Steps to Reproduce
(This is a placeholder ticket for now; I will update it soon with example code to reproduce the issue.)See https://github.com/codethief/tsconfig-playground/tree/fe78e51d4f4c62f801f281efd1ffff48ecdb32ea/2024-07-27-astro-with-project-references