Skip to content

Commit

Permalink
cherry-pick(#29687): chore: fix docs roll for functions without args …
Browse files Browse the repository at this point in the history
…follow-up
  • Loading branch information
github-actions[bot] committed Feb 27, 2024
1 parent e552d30 commit 252a8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/doclint/documentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ class Type {
return type;
}

if (parsedType.args) {
if (parsedType.args || parsedType.retType) {
const type = new Type('function');
type.args = [];
// @ts-ignore
Expand Down

0 comments on commit 252a8da

Please sign in to comment.