Skip to content

Commit

Permalink
chore: do not render args in method signature in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed May 6, 2024
1 parent 979233e commit b36d1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/doclint/linkUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function docsLinkRendererForLanguage(language, outputType) {
throw new Error('Internal error');
const className = member.clazz.varName === 'playwrightAssertions' ? '' : member.clazz.varName + '.';
if (member.kind === 'method')
return createMarkdownLink(languagePath, member, `${formatClassName(className, language)}${member.alias}(${renderJSSignature(member.argsArray)})`);
return createMarkdownLink(languagePath, member, `${formatClassName(className, language)}${member.alias}()`);
if (member.kind === 'event')
return createMarkdownLink(languagePath, member, `${className}on('${member.alias.toLowerCase()}')`);
if (member.kind === 'property')
Expand Down

0 comments on commit b36d1aa

Please sign in to comment.