Commit 94ca0dc6dad for nodejs
commit 94ca0dc6dada881a35cbe5ad3a62ef192b8adce0
Author: Richie McColl <richie.mccoll@hotmail.co.uk>
Date: Sat Nov 28 17:15:09 2026 +0200
doc: add node:bench types to type map
`doc/api/bench.md` references `{BenchContext}` and
`{BenchmarksStream}`, but neither type was in the type map, so they
rendered as literal text instead of links.
Signed-off-by: Richie McColl <richie.mccoll@hotmail.co.uk>
PR-URL: https://github.com/nodejs/node/pull/67793
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
diff --git a/doc/type-map.json b/doc/type-map.json
index c603e059a7e..c6ba3940258 100644
--- a/doc/type-map.json
+++ b/doc/type-map.json
@@ -15,6 +15,8 @@
"AsyncHook": "async_hooks.html#async_hookscreatehookoptions",
"AsyncLocalStorage": "async_context.html#class-asynclocalstorage",
"AsyncResource": "async_hooks.html#class-asyncresource",
+ "BenchContext": "bench.html#class-benchcontext",
+ "BenchmarksStream": "bench.html#class-benchmarksstream",
"Blob": "buffer.html#class-blob",
"BoundedChannel": "diagnostics_channel.html#class-boundedchannel",
"BoundedChannelScope": "diagnostics_channel.html#class-boundedchannelscope",