-
-
Notifications
You must be signed in to change notification settings - Fork 246
generateTrace
does not work with newer TypeScript versions
#722
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
Comments
I think this comes down to relying on internal TypeScript APIs which have changed. For example:
Since microsoft/TypeScript#42323 it seems that fork-ts-checker-webpack-plugin/src/typescript/worker/lib/tracing.ts Lines 18 to 24 in b5a38c1
|
Also microsoft/TypeScript#43354 removed
|
Separately, if there was some kind of warning about tracing being skipped even though |
@mkantor given that you already know where is the issue and how to solve it, would you mind creating a PR? |
Should Relatedly, are there any tests that run against different TypeScript versions? |
Sorry for the late response. I think it's enough to support it for TypeScript 4.6.x+ - this feature is a minor one. |
🎉 This issue has been resolved in version 7.2.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Current behavior
The README describes how to profile slow type-checking by setting
generateTrace
intsconfig.json
. However this doesn't work with recent TypeScript versions.Expected behavior
When building with
"generateTrace": "./traces"
intsconfig.json
, trace files should be created in./traces
as stated in the README.Steps to reproduce the issue
tsconfig.json
with"generateTrace": "{folderName}"
as described in the README.Environment
The text was updated successfully, but these errors were encountered: