Skip to content

Commit 46e7cec

Browse files
vsemozhetbytMylesBorins
authored andcommitted
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. PR-URL: #20976 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent f0704f2 commit 46e7cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/doc/type-parser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ const customTypesMap = {
8383
'Http2Stream': 'http2.html#http2_class_http2stream',
8484
'ServerHttp2Stream': 'http2.html#http2_class_serverhttp2stream',
8585

86+
'module': 'modules.html#modules_the_module_object',
87+
8688
'Handle': 'net.html#net_server_listen_handle_backlog_callback',
8789
'net.Server': 'net.html#net_class_net_server',
8890
'net.Socket': 'net.html#net_class_net_socket',
8991

90-
'module': 'modules.html#modules_the_module_object',
91-
9292
'os.constants.dlopen': 'os.html#os_dlopen_constants',
9393

9494
'PerformanceEntry': 'perf_hooks.html#perf_hooks_class_performanceentry',

0 commit comments

Comments
 (0)