chore(docs): Updated UI Reference (automated) (#13968)
* chore(docs): Generated + Updated UI Reference (automated) * fix react-docs-generator not resolving external types * sort undefined --------- Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
co-authored by
olivermrbl
Shahed Nasser
parent
924d651188
commit
423b6d94dc
@@ -50,7 +50,7 @@ function resolveDocumentation(
|
||||
utils.setPropDescription(documentation, propertyPath)
|
||||
|
||||
// set type if missing
|
||||
if (!propDescriptor.tsType && typedocManager) {
|
||||
if (typedocManager && !propDescriptor.tsType) {
|
||||
const typeAnnotation = utils.getTypeAnnotation(path)
|
||||
if (typeAnnotation?.isTSTypeReference()) {
|
||||
const typeName = typeAnnotation.get("typeName")
|
||||
@@ -71,7 +71,8 @@ function resolveDocumentation(
|
||||
}
|
||||
} else if (
|
||||
propDescriptor.tsType &&
|
||||
typedocManager?.doesOnlyHaveName(propDescriptor.tsType)
|
||||
(typedocManager?.onlyHasName(propDescriptor.tsType) ||
|
||||
typedocManager?.isRawTypeEmpty(propDescriptor.tsType))
|
||||
) {
|
||||
// see if the type needs to be resolved.
|
||||
const typeReflection = typedocManager?.getReflectionByName(
|
||||
|
||||
Reference in New Issue
Block a user