Skip to content
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

chore(generators): improve generator Typescript types #1439

Merged

Conversation

knagaitsev
Copy link
Contributor

What kind of change does this PR introduce?

chore/refactor

Did you add tests for your changes?
No

If relevant, did you update the documentation?
No

Summary

There was a lingering TODO in init-generator to switch the type of entryOption to string | object. I did this and restricted some other types more as well.

Open to suggestions if my exporting of CustomGenerator class from the types module is not elegant.

Does this PR introduce a breaking change?

No

Other information

@knagaitsev knagaitsev requested a review from a team as a code owner April 11, 2020 00:49
Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, thanks!

@alexander-akait alexander-akait merged commit 1f82bab into webpack:next Apr 11, 2020
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.

None yet

7 participants