docs-util: add configuration to generate js-sdk reference (#9630)
This commit is contained in:
@@ -170,7 +170,12 @@ const REJECTED_CHILDREN_NAMES = ["__type"]
|
||||
|
||||
function filterChildren(children: DeclarationReflection[]) {
|
||||
return children.filter(
|
||||
(child) => !REJECTED_CHILDREN_NAMES.includes(child.name)
|
||||
(child) =>
|
||||
!REJECTED_CHILDREN_NAMES.includes(child.name) &&
|
||||
!child.comment?.modifierTags.has("@ignore") &&
|
||||
!child.signatures?.some(
|
||||
(signature) => signature.comment?.modifierTags.has("@ignore")
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user