Skip to content

Commit

Permalink
temp: add typedoc-declaration package x14
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyauhalin committed Dec 9, 2024
1 parent 2b44550 commit b55a411
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/typedoc-declaration/lib/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1286,20 +1286,20 @@ export function resolveTrail(o: J.Reflection, t: NestedTrail): J.Reflection | un

let t: J.Reflection[] = []

if (isSignatureReflection(o) && o.parameters) {
t = o.parameters
if (isSignatureReflection(c) && c.parameters) {
t = c.parameters
}

if (isDeclarationReflection(o) && isReflectionType(o.type)) {
t = [o.type.declaration]
if (isDeclarationReflection(c) && isReflectionType(c.type)) {
t = [c.type.declaration]
}

if (isDeclarationReflection(o) && o.signatures) {
t = o.signatures
if (isDeclarationReflection(c) && c.signatures) {
t = c.signatures
}

if (isContainerReflection(o) && o.children) {
t = o.children
if (isContainerReflection(c) && c.children) {
t = c.children
}

if (t.length !== 0) {
Expand Down

0 comments on commit b55a411

Please sign in to comment.