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

"Group Multiple Methods" syntax does not work with class definition #1048

Closed
gavinr opened this issue Nov 21, 2017 · 2 comments
Closed

"Group Multiple Methods" syntax does not work with class definition #1048

gavinr opened this issue Nov 21, 2017 · 2 comments
Labels

Comments

@gavinr
Copy link

gavinr commented Nov 21, 2017

In v2.0, it says

Generator.extend() is replaced in favor of class extends Generator {}

So there is no way to use Generator.extend() anymore, but in the doc it says:

image
(http://yeoman.io/authoring/running-context.html)

So seems like it's impossible to use the "Group Multiple Methods" syntax if you're using v2.0 or greater. Is this correct?

@SBoudrias
Copy link
Member

Good question. Likely not possible unless you manually add an object to the prototype maybe?

@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2020

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale label Jan 1, 2020
@github-actions github-actions bot closed this as completed Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants