Skip to content

Commit

Permalink
temp: add typedoc-declaration package x9
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyauhalin committed Dec 6, 2024
1 parent 5ec1aa8 commit f0c48f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/typedoc-declaration/lib/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1195,17 +1195,17 @@ export function trailDepth(t: NestedTrail): number {
}

export function flatTrail(t: NestedTrail): FlatTrail {
const c: FlatTrail = []
const f: FlatTrail = []

for (const s of t) {
if (Array.isArray(s)) {
c.push(...flatTrail(s))
f.push(...flatTrail(s))
} else {
c.push(s)
f.push(s)
}
}

return c
return f
}

export function resolveTrail(o: J.Reflection, t: NestedTrail): J.Reflection | undefined {
Expand Down

0 comments on commit f0c48f8

Please sign in to comment.