diff options
author | Timothy Gu <timothygu99@gmail.com> | 2016-01-26 10:22:00 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-01-30 11:01:37 -0800 |
commit | ab45390e01c01a713ac1fe68c87ac25dd3d4ec5d (patch) | |
tree | a1eae41b9c3735e195a2bfc415b811b65a1863a1 /tools | |
parent | 8ff9b56c92d36ad8bdfd2d9be3a535e61315fb38 (diff) | |
download | android-node-v8-ab45390e01c01a713ac1fe68c87ac25dd3d4ec5d.tar.gz android-node-v8-ab45390e01c01a713ac1fe68c87ac25dd3d4ec5d.tar.bz2 android-node-v8-ab45390e01c01a713ac1fe68c87ac25dd3d4ec5d.zip |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/doc/json.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/doc/json.js b/tools/doc/json.js index 07aef469f3..9f256e41e5 100644 --- a/tools/doc/json.js +++ b/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]; |