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

jsdoc style guide update #1932

Merged
merged 3 commits into from Mar 15, 2019
Merged

jsdoc style guide update #1932

merged 3 commits into from Mar 15, 2019

Conversation

zekth
Copy link
Contributor

@zekth zekth commented Mar 14, 2019

As discussed in denoland/deno_std#271 (comment)

Jsdoc style guide is updated to tell people to not use the typing in the jsdoc param.

cc @kitsonk

@@ -230,7 +230,15 @@ For example:

Do not document function arguments unless they are non-obvious of their intent
(though if they are non-obvious intent, the API should be considered anyways).
Therefore `@param` should generally not be used.
Therefore `@param` should generally not be used. If `@param` is used, it should
not include the `type` as Typescript is already strong typed.
Copy link

@xeqlol xeqlol Mar 15, 2019

Choose a reason for hiding this comment

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

It should be "Typescript is already strongly typed."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nailed it

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for the clean up

@ry ry merged commit b2f15cf into denoland:master Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants