summaryrefslogtreecommitdiff
path: root/doc/api/perf_hooks.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/perf_hooks.md
parent321c178faa51d1f9e7c8ac60790aeca187a50e1f (diff)
downloadandroid-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/perf_hooks.md')
-rw-r--r--doc/api/perf_hooks.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md
index 465b594cb0..a3c3b2eb36 100644
--- a/doc/api/perf_hooks.md
+++ b/doc/api/perf_hooks.md
@@ -396,7 +396,7 @@ The `PerformanceObserverEntryList` class is used to provide access to the
added: v8.5.0
-->
-* Returns: {Array}
+* Returns: {PerformanceEntry[]}
Returns a list of `PerformanceEntry` objects in chronological order
with respect to `performanceEntry.startTime`.
@@ -408,7 +408,7 @@ added: v8.5.0
* `name` {string}
* `type` {string}
-* Returns: {Array}
+* Returns: {PerformanceEntry[]}
Returns a list of `PerformanceEntry` objects in chronological order
with respect to `performanceEntry.startTime` whose `performanceEntry.name` is
@@ -421,7 +421,7 @@ added: v8.5.0
-->
* `type` {string}
-* Returns: {Array}
+* Returns: {PerformanceEntry[]}
Returns a list of `PerformanceEntry` objects in chronological order
with respect to `performanceEntry.startTime` whose `performanceEntry.entryType`
@@ -438,7 +438,7 @@ Disconnects the `PerformanceObserver` instance from all notifications.
added: v8.5.0
-->
* `options` {Object}
- * `entryTypes` {Array} An array of strings identifying the types of
+ * `entryTypes` {string[]} An array of strings identifying the types of
`PerformanceEntry` instances the observer is interested in. If not
provided an error will be thrown.
* `buffered` {boolean} If true, the notification callback will be