From 0eecb3628710e3d7d9c99339730f8388672562ef Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sat, 26 May 2018 15:52:01 +0300 Subject: [PATCH] tools: fix sorting in doc/type-parser.js This section groups type links by their home modules and sort these groups alphabetically, so `modules` types should go before the `net` types. --- tools/doc/type-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/doc/type-parser.js b/tools/doc/type-parser.js index e7a2c2576e3b66..e7c7aa69da5e95 100644 --- a/tools/doc/type-parser.js +++ b/tools/doc/type-parser.js @@ -83,12 +83,12 @@ const customTypesMap = { 'Http2Stream': 'http2.html#http2_class_http2stream', 'ServerHttp2Stream': 'http2.html#http2_class_serverhttp2stream', + 'module': 'modules.html#modules_the_module_object', + 'Handle': 'net.html#net_server_listen_handle_backlog_callback', 'net.Server': 'net.html#net_class_net_server', 'net.Socket': 'net.html#net_class_net_socket', - 'module': 'modules.html#modules_the_module_object', - 'os.constants.dlopen': 'os.html#os_dlopen_constants', 'PerformanceEntry': 'perf_hooks.html#perf_hooks_class_performanceentry',