We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a87691d + 3ab2e11 commit 0101591Copy full SHA for 0101591
docs/templates/helpers.js
@@ -9,7 +9,7 @@ module.exports['readme-path'] = (opts) => {
9
module.exports.names = (params) => params.map(p => p.name).join(', ');
10
11
module.exports['typed-params'] = (params) => {
12
- 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(', ');
13
};
14
15
const slug = module.exports.slug = (str) => {
0 commit comments