aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2022-12-30 20:04:03 +0100
committerGitHub <[email protected]>2022-12-30 19:04:03 +0000
commite296ff2d4f6f1aa56fe7c80722257bd0b316b30a (patch)
tree199d89a678b7f7fd2623f1ebca48e5aa0616a80e /scripts
parent7f7e4428893284efd2df49405e8c98e0eac4b190 (diff)
downloadfaker-e296ff2d4f6f1aa56fe7c80722257bd0b316b30a.tar.xz
faker-e296ff2d4f6f1aa56fe7c80722257bd0b316b30a.zip
docs: fix param check (#1694)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/apidoc/signature.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/apidoc/signature.ts b/scripts/apidoc/signature.ts
index 72036a43..3b97a2ef 100644
--- a/scripts/apidoc/signature.ts
+++ b/scripts/apidoc/signature.ts
@@ -243,7 +243,7 @@ function analyzeParameterOptions(
description: mdToHtml(
toBlock(
property.comment ??
- (property.type as ReflectionType)?.declaration.signatures?.[0]
+ (property.type as ReflectionType)?.declaration?.signatures?.[0]
.comment
)
),