summaryrefslogtreecommitdiff
path: root/tools/doc/type-parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/doc/type-parser.js')
-rw-r--r--tools/doc/type-parser.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js
index 96dd98737f..ffbec9115c 100644
--- a/tools/doc/type-parser.js
+++ b/tools/doc/type-parser.js
@@ -16,7 +16,7 @@ const jsPrimitives = {
const jsGlobalObjectsUrl = `${jsDocPrefix}Reference/Global_Objects/`;
const jsGlobalTypes = [
'Array', 'ArrayBuffer', 'DataView', 'Date', 'Error', 'EvalError', 'Function',
- 'Object', 'Promise', 'RangeError', 'ReferenceError', 'RegExp', 'Set',
+ 'Map', 'Object', 'Promise', 'RangeError', 'ReferenceError', 'RegExp', 'Set',
'SharedArrayBuffer', 'SyntaxError', 'TypeError', 'TypedArray', 'URIError',
'Uint8Array',
];
@@ -75,6 +75,8 @@ const customTypesMap = {
'fs.Stats': 'fs.html#fs_class_fs_stats',
'fs.WriteStream': 'fs.html#fs_class_fs_writestream',
+ 'Histogram': 'perf_hooks.html#perf_hooks_class_histogram',
+
'http.Agent': 'http.html#http_class_http_agent',
'http.ClientRequest': 'http.html#http_class_http_clientrequest',
'http.IncomingMessage': 'http.html#http_class_http_incomingmessage',