Browse Source

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>
process-exit-stdio-flushing
Timothy Gu 9 years ago
committed by Rich Trott
parent
commit
ab45390e01
  1. 2
      tools/doc/json.js

2
tools/doc/json.js

@ -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];

Loading…
Cancel
Save