馃攷 Search Terms
parse error, relative import, missing diagnostics, root files, TS1003, TS2322
馃晽 Version & Regression Information
This occurs in every version tested: 7.0.2 and 7.1.0-dev.20260809.1 (nightly). I searched open and closed issues.
馃捇 Code
// target-clean.ts
export const foo = 123;
// importer-with-syntax-error.ts
import { foo as "bad" } from "./target-clean";
// unrelated-error.ts
const q: string = 12345;
tsc --noEmit --strict target-clean.ts importer-with-syntax-error.ts unrelated-error.ts
馃檨 Actual behavior
Only TS1003 is reported. The unrelated file's TS2322 is silently omitted. Removing the relative import or replacing the syntax error with a semantic error restores TS2322.
馃檪 Expected behavior
Both TS1003 and TS2322 are reported.
馃攷 Search Terms
parse error,relative import,missing diagnostics,root files,TS1003,TS2322馃晽 Version & Regression Information
This occurs in every version tested: 7.0.2 and
7.1.0-dev.20260809.1(nightly). I searched open and closed issues.馃捇 Code
馃檨 Actual behavior
Only TS1003 is reported. The unrelated file's TS2322 is silently omitted. Removing the relative import or replacing the syntax error with a semantic error restores TS2322.
馃檪 Expected behavior
Both TS1003 and TS2322 are reported.