Skip to content

Commit c10536c

Browse files
Transpile 0101591
1 parent 7ec6d2a commit c10536c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/templates/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports['readme-path'] = (opts) => {
99
module.exports.names = (params) => params.map(p => p.name).join(', ');
1010

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

1515
const slug = module.exports.slug = (str) => {

0 commit comments

Comments
 (0)