chore: fix docs roll for functions without args follow-up

This commit is contained in:
Max Schmitt 2024-02-27 16:31:17 +01:00
parent 03902d8e85
commit cd3d0e2afc

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