-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
doc: fix missing napi_get_typedarray_info() param #20631
Conversation
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`. |
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.
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?
Node.js Collaborators, please, add 👍 here if you approve fast-tracking. |
As |
3d10b79
to
c196b75
Compare
@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.
c196b75
to
0c2cd5e
Compare
@vsemozhetbyt I went with "The number of elements..." |
Landed in 06dc96f. |
Also, make the type name notation more consistent. PR-URL: nodejs#20631 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Also, make the type name notation more consistent. PR-URL: #20631 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Also, make the type name notation more consistent.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes