Skip to content

Support this.prop = expr; assignments as declarations for ES6 JS classes #7615

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

Closed

Conversation

RyanCavanaugh
Copy link
Member

@billti noticed this didn't actually make it in to the original JSDoc branch as planned

// @Filename: Foo.js
//// class Foo {
//// constructor() {
//// this.bar = 'world';
Copy link
Member

Choose a reason for hiding this comment

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

Can we add a method assignment also for completeness?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@billti
Copy link
Member

billti commented Mar 21, 2016

👍

@mhegazy
Copy link
Contributor

mhegazy commented Jun 17, 2016

@RyanCavanaugh can we close this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants