Skip to content

doc: add util.types.isModuleNamespaceObject() - #20616

Closed
devsnek wants to merge 1 commit into
nodejs:masterfrom
devsnek:doc/util-types-ismodulenamespaceobject
Closed

doc: add util.types.isModuleNamespaceObject()#20616
devsnek wants to merge 1 commit into
nodejs:masterfrom
devsnek:doc/util-types-ismodulenamespaceobject

Conversation

@devsnek

Copy link
Copy Markdown
Member
Checklist

@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. util Issues and PRs related to the built-in util module. labels May 9, 2018
@devsnekdevsnek added the fast-track PRs that do not need to wait for 48 hours to land. label May 9, 2018
@devsnek

Copy link
Copy Markdown
MemberAuthor

Comment threaddoc/api/util.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Drop this line.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

as much as i hate that line, every other one has that line.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

I can open another or after this to remove it from all of the docs at once.

Comment threaddoc/api/util.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(Not necessarily true if there is a then export.)

I’d use an import * as ns example.

@devsnekdevsnekMay 9, 2018

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

it won't pass lint if i do that, i'd have to ignore the block

@vsemozhetbytvsemozhetbytMay 9, 2018

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It seems the comment is a bit confusing: as this is not just a REPL command, this line does not return in the usual sense, but the function returns Promise resolved to undefined. Maybe we should add return and change the comment into Resolves...?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@devsnek Then IMO we should ignore the block.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

does it look okay at this point?

@vsemozhetbyt

Copy link
Copy Markdown
Contributor

Node.js Collaborators, please, add 👍 here if you approve fast-tracking.

@guybedfordguybedford left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great to see this!

@devsnek
devsnekforce-pushed the doc/util-types-ismodulenamespaceobject branch from 326cfa2 to 19c4f9bCompareMay 10, 2018 01:33
@devsnek

Copy link
Copy Markdown
MemberAuthor

landed in f1cdd77

@devsnekdevsnek closed this May 10, 2018
@devsnek
devsnek deleted the doc/util-types-ismodulenamespaceobject branch May 10, 2018 20:26
devsnek added a commit that referenced this pull request May 10, 2018
PR-URL: #20616
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
@devsnekdevsnek removed the fast-track PRs that do not need to wait for 48 hours to land. label May 10, 2018
targos pushed a commit that referenced this pull request May 12, 2018
PR-URL: #20616
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
@addaleaxaddaleax mentioned this pull request May 14, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.utilIssues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@devsnek@vsemozhetbyt@jasnell@guybedford@TimothyGu@nodejs-github-bot