Skip to content

Add class member initializations for multiple classes - #6987

Closed
mohsen1 wants to merge 1 commit into
webpack:masterfrom
mohsen1:more-undefined-init
Closed

mohsen1 wants to merge 1 commit into
webpack:masterfrom
mohsen1:more-undefined-init

Conversation

@mohsen1

@mohsen1 mohsen1 commented Apr 8, 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 adding class members that are assigned during the class lifecycle to make TypeScript happy. This has extra benefit of letting V8 know about those members when initializing class instances

This PR adds initializers to a bunch of classes. I'm happy to break it down to more PRs but these changes are mostly harmless.

Does this PR introduce a breaking change?
Most likely not.

@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.

@sokra

sokra commented Apr 9, 2018

Copy link
Copy Markdown
Member

Duplicate of #6910

@sokra sokra marked this as a duplicate of #6910 Apr 9, 2018
@sokra sokra closed this Apr 9, 2018
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.

3 participants