-
Notifications
You must be signed in to change notification settings - Fork 206
Support @throws tag #305
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
Support @throws tag #305
Conversation
|
CLA is valid! |
lib/docparser.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment doesn't make any sense. Copy/paste issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I just fixed.
|
I'll merge this in the next week if I have no feedback this week. And I'm planning release the next version with this in the next week. /cc @juandopazo @caridy |
lib/docparser.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need throw or exception unless users tell us it's a common mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, OK! Moved out.
|
Updated for review from @juandopazo. |
|
LGTM! |
|
Thanks a lot. |
It works similar with the
@returntag. This means that a type is optional. An actual example is like the following. And, this resolves #135 finally.This is a new feature, so I wish I could get any reviewers.
/cc @juandopazo @caridy