Closed Jack-Works closed 2 weeks ago
Requires this setting to be on
@sheetalkamat what's the logic that usually prevents this from happening (settings in the referring project being wrongly applied to the imported file) ?
Its a bug. We skip semantic diagnostics for these kind of files from referenced project, we should also skip emit diagnostics.
🔎 Search Terms
isolatedDeclaration
🕗 Version & Regression Information
5.5.0-beta
⏯ Playground Link
https://github.com/Jack-Works/reproduce/tree/main/typescript-5.5-isolatedDeclarations-vscode
💻 Code
Open
b/index.ts
in the editor. (you must not opena/index.ts
otherwise the error won't appear)🙁 Actual behavior
But A does not have
isolatedDeclarations
enabled.If you open
a/index.ts
, the error is gone, and if you close it, the error appears again.🙂 Expected behavior
Works
Additional information about the issue
No response