-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[9.4.0] A definition being referenced is lacking #318
Comments
Broken by 7252a35 |
Thanks for reporting the issue! The fix has been deployed in v9.4.1. |
FYI this fix has a significant overhead that can cause a 4.4x slow down (4.8s → 22s). |
@alex-kinokon do you have a repro that I can use to verify a proper fix will work well? If you don't mind, please cut a ticket so we can track it and fix separately. |
@timocov https://github.com/alex-kinokon/reprod: modify the version |
@alex-kinokon thanks! I created #322 to investigate possible solution. |
Bug report
Thank you for the great job.
Since v9.4.0, there is an issue where definitions referenced are lacking and then the generated file is not correct.
When using v9.3.1, the equivalent of Expected output is output.
(In this report, the definition of
$StringKeyPathToRecordUnion
is missing.)Input code
Expected output
Actual output
Error Report
N/A. Here is the output using verbose:
How to reproduce the issue
Unzip dts-bundle-generator-lack-defs.zip
npm ci
npm run bundle
dts-bundle-generator --config ./config.json --verbose
Environment
The text was updated successfully, but these errors were encountered: