Skip to content

Avoid type mismatch assignment of number to string in HotModuleReplacementPlugin - #7020

Merged
sokra merged 3 commits into
webpack:masterfrom
mohsen1:avoid-type-mismatch-assignments
Apr 12, 2018
Merged

sokra merged 3 commits into
webpack:masterfrom
mohsen1:avoid-type-mismatch-assignments

Conversation

@mohsen1

@mohsen1 mohsen1 commented Apr 11, 2018

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Refactor
Did you add tests for your changes?
No

If relevant, link to documentation update:
N/A

Summary
As part of #6862 I'm refactoring this for..in statement to be easier for TypeScript to understand.

Does this PR introduce a breaking change?
No

Other information
No reassigning numbers to strings is good for VMs expectations as well.

@webpack-bot

Copy link
Copy Markdown
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@webpack-bot

Copy link
Copy Markdown
Contributor

@mohsen1 Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@sokra Please review the new changes.

@sokra
sokra merged commit 13ac6a1 into webpack:master Apr 12, 2018
@sokra

sokra commented Apr 12, 2018

Copy link
Copy Markdown
Member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants