Skip to content

Commit 1a43adc

Browse files
authored
chore: fix docs roll for functions without args follow-up (#29687)
1 parent 03902d8 commit 1a43adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/doclint/documentation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ class Type {
566566
return type;
567567
}
568568

569-
if (parsedType.args) {
569+
if (parsedType.args || parsedType.retType) {
570570
const type = new Type('function');
571571
type.args = [];
572572
// @ts-ignore

0 commit comments

Comments
 (0)