Remove redundant check if doclet kind is typedef

This commit is contained in:
Maximilian Krög
2020-03-12 22:23:28 +01:00
parent 058ca59233
commit f2477622c3

View File

@@ -181,7 +181,7 @@ exports.handlers = {
doclet._hideConstructor = true;
includeAugments(doclet);
sortOtherMembers(doclet);
} else if (!doclet._hideConstructor && !(doclet.kind == 'typedef' && doclet.longname in types)) {
} else if (!doclet._hideConstructor) {
// Remove all other undocumented symbols
doclet.undocumented = true;
}