diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 15:25:04 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-09 17:04:48 +0300 |
commit | dff214153f1b48615e3e4f134b252fbbe363c36f (patch) | |
tree | a8cb25513bfdfeb90f62e5d43885eb4d51b2ce85 /doc/api/http2.md | |
parent | 321c178faa51d1f9e7c8ac60790aeca187a50e1f (diff) | |
download | android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.gz android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.bz2 android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.zip |
doc: specify definite Array types
Replace `{Array}` with `{type[]}`.
PR-URL: https://github.com/nodejs/node/pull/19895
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r-- | doc/api/http2.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md index 61f52d41d3..ef0fc85d77 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2437,7 +2437,7 @@ The request method as a string. Read-only. Example: added: v8.4.0 --> -* {Array} +* {string[]} The raw request/response headers list exactly as they were received. @@ -2466,7 +2466,7 @@ console.log(request.rawHeaders); added: v8.4.0 --> -* {Array} +* {string[]} The raw request/response trailer keys and values exactly as they were received. Only populated at the `'end'` event. @@ -2710,7 +2710,7 @@ const contentType = response.getHeader('content-type'); added: v8.4.0 --> -* Returns: {Array} +* Returns: {string[]} Returns an array containing the unique names of the current outgoing headers. All header names are lowercase. |