Build-Free Editing with Project References

TypeScript’s project references provide us with an easy way to break codebases up to give us faster compiles.Unfortunately, editing a project whose dependencies hadn’t been built (or whose output was out of date) meant that the editing experience wouldn’t work well.

In TypeScript 3.7, when opening a project with dependencies, TypeScript will automatically use the source .ts/.tsx files instead.This means projects using project references will now see an improved editing experience where semantic operations are up-to-date and “just work”.You can disable this behavior with the compiler option disableSourceOfProjectReferenceRedirect which may be appropriate when working in very large projects where this change may impact editing performance.

You can read up more about this change by reading up on its pull request.