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
Type misalign between webpack and webpack-sources #12294
Comments
Please respect time of other developers and use the issue template |
updated |
Update we can improve types here, PR welcome |
This issue had no activity for at least three months. It's subject to automatic issue closing if there is no activity in the next 15 days. |
bump |
Issue was closed because of inactivity. If you think this is still a valid issue, please file a new issue with additional information. |
@TheLarkInn Should be easy, very annoing to lose types here |
@Austaras would you be willing to submit a fix here? |
@TheLarkInn We already have fix #16805 😄 |
Bug report
In webpack's declarations.d.ts,
Source
iswhile in
@types/webpack-sources
, it isWhat is the expected behavior?
typing of webpack and webpack-sources should be compatible.
In this case I believe the latter is more detailed, so it should be used. BTW, why doesn't webpack use this declaration but instead write its own?
Other relevant information:
webpack version: 5.11.1
The text was updated successfully, but these errors were encountered: