mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
tools: add property types in JSON documentation
PR-URL: https://github.com/nodejs/node/pull/4884 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
This commit is contained in:
1 parent
96f306f3cf
commit
bcb327c8dd
1 file changed
+1
-1
+1
-1
@@ -248,7 +248,7 @@ function processList(section) {
|
||||
// copy the data up to the section.
|
||||
var value = values[0] || {};
|
||||
delete value.name;
|
||||
section.typeof = value.type;
|
||||
section.typeof = value.type || section.typeof;
|
||||
delete value.type;
|
||||
Object.keys(value).forEach(function(k) {
|
||||
section[k] = value[k];
|
||||
|
||||
Reference in new issue
Block a user