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

@return this should imply the type to be current class #8

Open
garryyao opened this issue Apr 14, 2014 · 2 comments
Open

@return this should imply the type to be current class #8

garryyao opened this issue Apr 14, 2014 · 2 comments

Comments

@garryyao
Copy link

When a static/instance method returns this, rather than having to explicitly specify the type in @return tag, @return this should imply the type to be the owner class itself, while @return {Foo} this is still supported if an interface/parent class type is preferred.

@garryyao
Copy link
Author

Landed on master with 9efa17f.

@mikaelkaron
Copy link
Member

I can't get this working in 0.0.13, can you confirm this is fixed?

@mikaelkaron mikaelkaron reopened this Apr 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants