Skip to content

Commit

Permalink
chore: fix docs roll for functions without args follow-up (#29687)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Feb 27, 2024
1 parent 03902d8 commit 1a43adc
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 1a43adc

Please sign in to comment.