Skip to content

Commit

Permalink
Transpile 0101591
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 16, 2023
1 parent 7ec6d2a commit c10536c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/templates/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports['readme-path'] = (opts) => {
module.exports.names = (params) => params.map(p => p.name).join(', ');

module.exports['typed-params'] = (params) => {
return params.map(p => `${p.type}${p.name ? ' ' + p.name : ''}`).join(', ');
return params?.map(p => `${p.type}${p.indexed ? ' indexed' : ''}${p.name ? ' ' + p.name : ''}`).join(', ');
};

const slug = module.exports.slug = (str) => {
Expand Down

0 comments on commit c10536c

Please sign in to comment.