Skip to content

Mark the files found during node_modules search correctly when reusing program structure completely #19435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 24, 2017

Conversation

sheetalkamat
Copy link
Member

@sheetalkamat sheetalkamat commented Oct 24, 2017

Without this fix the source files reused from node_modules folder that weren't part of program output structure were used as normal files in new program resulting in incorrect errors and incorrect program output structure
Fixes #19327
I also think this might be fix for #19280, #19290

… existing program structure

This marks files reused correctly as from external library resulting in not using them for files to be emitted and computed for output structure
Fixes #19327
@mhegazy
Copy link
Contributor

mhegazy commented Oct 24, 2017

Please port this to release-2.6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tsc --watch is inconsistently reporting node_modules files as being outside rootDir
2 participants