diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index bad6f459b06aea..d035a14feec04f 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -317,11 +317,13 @@ added: v8.5.0 The high resolution millisecond timestamp marking the starting time of the Performance Entry. -## Class: `PerformanceNodeTiming extends PerformanceEntry` +## Class: `PerformanceNodeTiming` +* 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 diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js index bb8412ad801c1b..31383a2cd6d0f5 100644 --- a/tools/doc/type-parser.js +++ b/tools/doc/type-parser.js @@ -134,7 +134,7 @@ const customTypesMap = { 'Histogram': 'perf_hooks.html#perf_hooks_class_histogram', 'PerformanceEntry': 'perf_hooks.html#perf_hooks_class_performanceentry', 'PerformanceNodeTiming': - 'perf_hooks.html#perf_hooks_class_performancenodetiming_extends_performanceentry', // eslint-disable-line max-len + 'perf_hooks.html#perf_hooks_class_performancenodetiming', 'PerformanceObserver': 'perf_hooks.html#perf_hooks_class_perf_hooks_performanceobserver', 'PerformanceObserverEntryList':