mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: fix missing napi_get_typedarray_info() param
Also, make the type name notation more consistent. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
facb2c53c2
commit
06dc96fa7c
1 file changed
+3
-2
+3
-2
@@ -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`: The number of elements in the `TypedArray`.
|
||||
- `[out] data`: The data buffer underlying the `TypedArray`.
|
||||
- `[out] arraybuffer`: The `ArrayBuffer` underlying the `TypedArray`.
|
||||
- `[out] byte_offset`: The byte offset within the data buffer from which
|
||||
to start projecting the `TypedArray`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user