Skip to content

Commit 5d55f59

Browse files
TimothyGurvagg
authored andcommitted
tools: add property types in JSON documentation
PR-URL: #4884 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
1 parent 396e4b9 commit 5d55f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tools/doc/json.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ function processList(section){
248248
// copy the data up to the section.
249249
varvalue=values[0]||{};
250250
deletevalue.name;
251-
section.typeof=value.type;
251+
section.typeof=value.type||section.typeof;
252252
deletevalue.type;
253253
Object.keys(value).forEach(function(k){
254254
section[k]=value[k];

0 commit comments

Comments
(0)