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

doc: fix missing napi_get_typedarray_info() param #20631

Conversation

gabrielschulhof
Copy link
Contributor

Also, make the type name notation more consistent.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. dont-land-on-v4.x node-api Issues and PRs related to the Node-API. labels May 9, 2018
doc/api/n-api.md Outdated
@@ -1697,8 +1697,9 @@ napi_status napi_get_typedarray_info(napi_env env,
- `[in] typedarray`: `napi_value` representing the `TypedArray` whose
properties to query.
- `[out] type`: Scalar datatype of the elements within the `TypedArray`.
- `[out] length`: `Number` of elements in the `TypedArray`.
- `[out] data`: The data buffer underlying the typed array.
- `[out] length`: number of elements in the `TypedArray`.
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt May 9, 2018

Choose a reason for hiding this comment

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

As all other descriptions begin with upper case, maybe we can just remove backticks around Number or add The before number as in the next lines?

@vsemozhetbyt
Copy link
Contributor

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

@vsemozhetbyt vsemozhetbyt added the fast-track PRs that do not need to wait for 48 hours to land. label May 9, 2018
@vsemozhetbyt
Copy link
Contributor

As n-api is backported to 6.x, should we remove "dont-land-on-v6.x" label in PRs that fix errors and documentation?

@gabrielschulhof
Copy link
Contributor Author

@vsemozhetbyt AIUI, v6.x is going into maintenance mode, so only the most critical of fixes will be landed there.

Also, make the type name notation more consistent.
@gabrielschulhof
Copy link
Contributor Author

@vsemozhetbyt I went with "The number of elements..."

@vsemozhetbyt
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 9, 2018
@gabrielschulhof
Copy link
Contributor Author

Landed in 06dc96f.

gabrielschulhof pushed a commit to gabrielschulhof/node that referenced this pull request May 9, 2018
Also, make the type name notation more consistent.

PR-URL: nodejs#20631
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
@gabrielschulhof gabrielschulhof deleted the n-api-typedarray-doc-fix branch May 9, 2018 17:46
targos pushed a commit that referenced this pull request May 12, 2018
Also, make the type name notation more consistent.

PR-URL: #20631
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
@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
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. fast-track PRs that do not need to wait for 48 hours to land. node-api Issues and PRs related to the Node-API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants