-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
doc: added return types of functions and types of static properties #9514
doc: added return types of functions and types of static properties #9514
Conversation
@@ -61,6 +61,7 @@ added: v0.1.25 | |||
|
|||
* `path` {String} | |||
* `ext` {String} An optional file extension | |||
* Return: {String} |
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.
Should be Returns:
to be consistent with other docs.
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.
Disregard that too, I see we're inconsistent here, will fix in another commit.
@@ -83,6 +84,8 @@ and is not a string. | |||
added: v0.9.3 | |||
--> | |||
|
|||
* {String} |
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.
Maybe prefix these with Type:
?
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.
On the other hand, people seem to be fine with it in #9505, so I guess it's okay your way.
Thanks! Landed in 6cc321e. |
PR-URL: #9514 Reviewed-By: Roman Reiss <[email protected]>
PR-URL: #9514 Reviewed-By: Roman Reiss <[email protected]>
is this still accurate for v4 and v6? |
Checked on V6, can check on V4 if it needs to be done. |
PR-URL: #9514 Reviewed-By: Roman Reiss <[email protected]>
PR-URL: #9514 Reviewed-By: Roman Reiss <[email protected]>
Checklist
Affected core subsystem(s)
doc
Description of change
Return types and types of static properties added to path module doc according to item