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

This commit is contained in:
Max Schmitt 2024-02-27 16:40:18 +01:00 committed by GitHub
parent 03902d8e85
commit 1a43adc506
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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