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

@devsnek devsnek commented May 9, 2018

Copy link
Copy Markdown
Member
Checklist

@nodejs-github-bot nodejs-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
@devsnek devsnek added the fast-track PRs that do not need to wait for 72 hours to land. label May 9, 2018
@devsnek

devsnek commented May 9, 2018

Copy link
Copy Markdown
Member Author

Comment thread doc/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
Member Author

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
Member Author

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 thread doc/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.

@devsnek devsnek May 9, 2018

Copy link
Copy Markdown
Member Author

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

@vsemozhetbyt vsemozhetbyt May 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
Member Author

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.

@guybedford guybedford 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 devsnek force-pushed the doc/util-types-ismodulenamespaceobject branch from 326cfa2 to 19c4f9b Compare May 10, 2018 01:33
@devsnek

devsnek commented May 10, 2018

Copy link
Copy Markdown
Member Author

landed in f1cdd77

@devsnek devsnek 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>
@devsnek devsnek removed the fast-track PRs that do not need to wait for 72 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>
@addaleax addaleax mentioned this pull request May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants