-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Allow noEmit and composite together in 3.7 #33809
Comments
@sheetalkamat this breaks |
As part of it's incremental compilation, VS runs a pass with |
interesting.. Technically with --noEmit shouldn't listEmittedFiles be empty list? |
@sheetalkamat, I would think so too, but @uniqueiniquity or @PranavSenthilnathan would know more about why it's there. |
It should - I don't think |
The issue seems to be back in 3.8.2. |
The revert was reverted again in #36483 because, per #32882, it really doesn't make sense to have You should consider |
Thank you. It makes sense. |
For other readers: the parameter to use is |
I'm still not sold on this. I used It also breaks other tooling like ESLint as these built files are now being pulled in, so we must configure rules against this also. |
I am in the exact same situation as you are; I was using
I wonder about the specifics of your project. For ours, all build artifacts are in a |
This isn't the project, but a similar setup: https://github.com/airbnb/lunar/blob/master/packages/core/test/tsconfig.json Each test folder has its own Now that incremental emits files, it's converting our test files to js, like |
You can also use the |
TypeScript Version: 3.7.0-beta
Search Terms: composite noEmit monorepo
Expected behavior:
In 3.6 I was able to compile with those 2 options enabled now in 3.7 beta I cannot do that anymore.
Actual behavior:
error TS5053: Option 'noEmit' cannot be specified with option 'composite'.
Related Issues: No?
The text was updated successfully, but these errors were encountered: