Skip to content

Commit

Permalink
Show if event parameter is indexed in docs (#3958)
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco <frangio.1@gmail.com>
  • Loading branch information
JulissaDantes and frangio authored Jan 16, 2023
1 parent 785f651 commit 18691d1
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 18691d1

Please sign in to comment.