Skip to content

Conversation

@rbuckton
Copy link

What kind of change does this PR introduce?

This updates the webpack build to be forwards compatible with microsoft/TypeScript#58243, which uses a stricter return type for built-in iterators under the new strictBuiltinIteratorReturn option, which is enabled by default when building with strict.

Did you add tests for your changes?

Tests should not be necessary for this change.

Does this PR introduce a breaking change?

No

What needs to be documented once your changes are merged?

Nothing, this is purely related to TypeScript type checking of the webpack project itself.

@webpack-bot
Copy link
Contributor

For maintainers only:

  • This needs to be documented (issue in webpack/webpack.js.org will be filed when merged)
  • This needs to be backported to webpack 4 (issue will be created when merged)

@rbuckton
Copy link
Author

I've filed this as a Draft PR in the event there are any other changes to microsoft/TypeScript#58243 that must be addressed. Once that PR has merged, I will mark this PR as "Ready for review".

@rbuckton rbuckton marked this pull request as ready for review July 19, 2024 21:01
@alexander-akait alexander-akait merged commit aa71746 into webpack:main Jul 24, 2024
@rbuckton rbuckton deleted the strictBuiltinIteratorReturn branch July 24, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants