Render constructor params

This commit is contained in:
ahocevar
2018-06-12 08:00:27 -06:00
committed by Tim Schaub
parent a7d180047a
commit 54c438997f
2 changed files with 24 additions and 2 deletions
+2 -1
View File
@@ -92,7 +92,8 @@ exports.publish = function(data, opts) {
const params = [];
doc.params.forEach(function(param) {
const paramInfo = {
name: param.name
name: param.name,
description: param.description
};
params.push(paramInfo);
paramInfo.types = getTypes(param.type.names);