summaryrefslogtreecommitdiff
path: root/doc/api/punycode.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-09 15:25:04 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-09 17:04:48 +0300
commitdff214153f1b48615e3e4f134b252fbbe363c36f (patch)
treea8cb25513bfdfeb90f62e5d43885eb4d51b2ce85 /doc/api/punycode.md
parent321c178faa51d1f9e7c8ac60790aeca187a50e1f (diff)
downloadnode-new-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.gz
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/punycode.md')
-rw-r--r--doc/api/punycode.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/punycode.md b/doc/api/punycode.md
index 01df2809d5..3f5b9746c1 100644
--- a/doc/api/punycode.md
+++ b/doc/api/punycode.md
@@ -130,7 +130,7 @@ punycode.ucs2.decode('\uD834\uDF06'); // [0x1D306]
added: v0.7.0
-->
-* `codePoints` {Array}
+* `codePoints` {integer[]}
The `punycode.ucs2.encode()` method returns a string based on an array of
numeric code point values.