Report type of callback as "function" in JSDoc

This commit is contained in:
David Rowe 2019-08-17 16:56:01 +12:00
parent ed6407d2bd
commit dbb964d415

View file

@ -13,7 +13,10 @@ var self = this;
<?js returns.forEach(function(r) { ?>
<?js= self.partial('returns.tmpl', r) ?>
<?js });
} ?></span>
} ?></span>
<?js if (data.kind === 'typedef' && data.type && data.type.names) { ?>
<br />Type: <?js= self.partial('type.tmpl', data.type.names) ?>
<?js } ?>
</th>
</tr>
</thead>