Update docs

This commit is contained in:
github-actions
2023-01-16 19:07:02 +00:00
parent 0fc0217e31
commit 85a5e4beae
11 changed files with 37 additions and 37 deletions

View File

@ -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) => {