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.
1 parent 7ec6d2a commit c10536cCopy full SHA for c10536c
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