-
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
webpack ts-loader error using TS 4.7 #48020
Comments
This seems to be caused by this directive at the top of
I can actually simplify this repo: it seems you just need any triple slash type reference in the project to cause the crash. I also see this when adding |
Callstack looks the same as #47921, but that one was tagged |
See e.g. TypeStrong/ts-node#1647 |
Logged TypeStrong/ts-loader#1421 |
I've put together a speculative fix for this issue in |
This issue has been marked as 'External' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Bug Report
🔎 Search Terms
@types
🕗 Version & Regression Information
💻 Code
Clone https://github.com/mjbvz/ts-47-webpack-error
In the project run:
🙁 Actual behavior
The presence of
@types/dompurify
in the project triggers the following error:🙂 Expected behavior
This example builds under TS 4.6-rc and TS 4.5. I'm guessing something about the TS internal APIs that ts-loader depends on has changed
The text was updated successfully, but these errors were encountered: