[webpack] Remove @types/webpack; webpack@^5.0.0 bundles type definitions #51681
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is marked as draft because there are still many errors; the majority of them, afaict, are due to webpack's type definitions relying on the presence of
@types/node
. I'm not sure what the proper way to mark the affected packages as requiring@types/node
is, given that it's a dependency requirement, and not needed in the types themselves.Once I know the proper way to add
@types/node
, I can do that in bulk and fix the remainder of the errors.I noticed the existence of #49755, but that doesn't nearly update all the relevant packages, so I though it would be useful to open a PR with the relevant packages updated in bulk.
Please fill in this template.
npm test <package to test>
.Select one of these and delete the others:
If removing a declaration:
notNeededPackages.json
.