-
Notifications
You must be signed in to change notification settings - Fork 30k
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: format ArrayBufferView as inline code #17595
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1847,7 +1847,7 @@ added: v7.10.0 | |
changes: | ||
- version: v9.0.0 | ||
pr-url: https://github.com/nodejs/node/pull/15231 | ||
description: The `buffer` argument may be any ArrayBufferView | ||
description: The `buffer` argument may be any `ArrayBufferView` | ||
--> | ||
|
||
* `buffer` {Buffer|Uint8Array|ArrayBufferView} Must be supplied. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While at it, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But if it is fairly obvious that |
||
|
@@ -1889,7 +1889,7 @@ added: v7.10.0 | |
changes: | ||
- version: v9.0.0 | ||
pr-url: https://github.com/nodejs/node/pull/15231 | ||
description: The `buffer` argument may be any ArrayBufferView | ||
description: The `buffer` argument may be any `ArrayBufferView` | ||
--> | ||
|
||
* `buffer` {Buffer|Uint8Array|ArrayBufferView} Must be supplied. | ||
|
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.
I know I probably added this myself, but I now actually prefer
ArrayBufferView
to not be mentioned at all in the documentation, as it's not a JavaScript type (only a Web IDL one). I'd say something like "may be anyTypedArray
orDataView
".