Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-06-06 23:48:02 +0300
committercjihrig <cjihrig@gmail.com>2020-06-09 04:25:25 +0300
commit85dbd17bde1049022854581d09dc7d48fc6e6d24 (patch)
tree3d148dc7b43f374f0fd91bebe096af3292e3bc79 /doc/api/perf_hooks.md
parent2e49010bc8f2d05f6b0eca66bd9fca08cb5745a5 (diff)
doc: make perf_hooks Extends usage consistent
The docs use `* Extends: {type}` to define inheritance. This commit updates the perf_hooks documentation to be consistent. PR-URL: https://github.com/nodejs/node/pull/33777 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/perf_hooks.md')
-rw-r--r--doc/api/perf_hooks.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md
index c2d301006e2..5e573d038b8 100644
--- a/doc/api/perf_hooks.md
+++ b/doc/api/perf_hooks.md
@@ -255,11 +255,13 @@ The value may be one of:
* `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY`
* `perf_hooks.constants.NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE`
-## Class: `PerformanceNodeTiming extends PerformanceEntry`
+## Class: `PerformanceNodeTiming`
<!-- YAML
added: v8.5.0
-->
+* Extends: {PerformanceEntry}
+
_This property is an extension by Node.js. It is not available in Web browsers._
Provides timing details for Node.js itself. The constructor of this class