aboutsummaryrefslogtreecommitdiff
path: root/scripts/apidoc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/apidoc')
-rw-r--r--scripts/apidoc/signature.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/apidoc/signature.ts b/scripts/apidoc/signature.ts
index 6340ae66..287fc737 100644
--- a/scripts/apidoc/signature.ts
+++ b/scripts/apidoc/signature.ts
@@ -190,12 +190,9 @@ function analyzeParameterOptions(
parameterType: SomeType
): MethodParameter[] {
if (parameterType.type === 'union') {
- return [];
- // TODO ST-DDT 2022-02-26: Currently not supported by typedoc
- // https://github.com/TypeStrong/typedoc/issues/1876
- // return parameterType.types.flatMap((type) =>
- // analyzeParameterOptions(name, type)
- // );
+ return parameterType.types.flatMap((type) =>
+ analyzeParameterOptions(name, type)
+ );
} else if (parameterType.type === 'reflection') {
const properties = parameterType.declaration.getChildrenByKind(
ReflectionKind.Property