chore: fix docs roll for functions without args follow-up (#29687)
This commit is contained in:
parent
03902d8e85
commit
1a43adc506
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue