Hide union children

This commit is contained in:
Copple authored and Bobbie Soedirgo committed 2022-10-05 20:31:31 +08:00
1 parent 5a66b88ea8
commit ab9ed4e41c
1 file changed
+2 -1
+2 -1
View File
@@ -130,7 +130,8 @@ function recurseThroughParams(paramDefinition: TsDoc.TypeDefinition) {
if (param.type?.declaration?.children) {
children = param.type?.declaration?.children
} else if (isUnion(param)) {
children = param.type.types
// children = param.type.types
children = null // We don't want to show the union types
} else if (param.type === 'reflection') {
children = param.declaration.children
}