cherry-pick(#29687): chore: fix docs roll for functions without args follow-up

This commit is contained in:
github-actions 2024-02-27 15:51:44 +00:00
parent e552d302ac
commit 252a8daaa6

View file

@ -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