Skip to content
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

fix #31012 allow noEmitOnError with isolatedModules #31043

Conversation

mheiber
Copy link
Contributor

@mheiber mheiber commented Apr 20, 2019

fix #31012

Allow noEmitOnError with isolatedModules.

If I understand correctly, the purpose of isolatedModules is to
do extra validation to ensure that separate compilation is safe.

Such validation seems complementary to disallowing emit in the presence of errors.

checklist

  • Code is up-to-date with the master branch
  • You've successfully run gulp runtests locally
  • There are new or updated unit tests validating the change

fix microsoft#31012

Since the purpose of isolatedModules: true is to
do extra validation to ensure that separate
compilation is safe

Allowing emit in the presence of errors is
compatible with that intention.

Signed-off-by: Max Heiber <max.heiber@gmail.com>
@msftclas
Copy link

msftclas commented Apr 20, 2019

CLA assistant check
All CLA requirements met.

@RyanCavanaugh RyanCavanaugh merged commit f9d12ed into microsoft:master Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow isolatedModules: true with noEmitOnError: true
4 participants