Suppose we have two .ts files that depend on each other, a and b, where b depends on a.
But I have not put the "<reference>" tag on b.
If I perform an individual tsc.exe call for each file, then the compiler informs "missing symbol" on b and then I am reminded that I need to add the reference.
But if I perform a batch compile (passing all files together) to tsc.exe, which is obviously faster, then these "missing symbol" errors are not reported. Is there any way I can still get these errors while doing a batch compile? I am willing to call
the tsc.js or typescriptServices.js directly if needed.
In other words, I am looking for a way where the compiler respects the file scope when type-checking, even if I am batch-compiling all the files together. I am right now investigating the PullTypeResolver class et al, since I am willing to even have a fork
of the compiler if I can gain this feature, but I am wondering if isn't there an easier way to do it (or if perhaps I am missing something obvious).