Skip to content

Commit

Permalink
temp: add typedoc-declaration package x13
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyauhalin committed Dec 9, 2024
1 parent d5ebc16 commit 2b44550
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/typedoc-declaration/lib/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ export function shakeItems(o: J.Reflection, c: Item[]): Entity[] {
p.children.push(...t.children)

if (p instanceof Declaration) {
p.properties.push(...t.properties)
p.parameters.push(...t.parameters)
}

Expand Down Expand Up @@ -755,7 +754,6 @@ export class Declaration {
name = ""
trail = new TrailDuplex()
narrative = new Narrative()
properties: Fragment[] = []
parameters: Fragment[] = []
parentId = -1
children: number[] = []
Expand Down Expand Up @@ -819,11 +817,6 @@ export class Declaration {
d.summary = this.narrative.summary
d.description = this.narrative.description

for (const f of this.properties) {
const t = f.to()
d.properties.push(t)
}

for (const f of this.parameters) {
const t = f.to()
d.parameters.push(t)
Expand Down Expand Up @@ -1214,12 +1207,6 @@ export class Repository {
const f = flatTrail(t.trail.real)
r.#trailIndex.set(d, f)

for (const [i, p] of t.properties.entries()) {
const e = d.properties[i]
const f = flatTrail(p.trail.real)
r.#trailIndex.set(e, f)
}

for (const [i, p] of t.parameters.entries()) {
const e = d.parameters[i]
const f = flatTrail(p.trail.real)
Expand Down

0 comments on commit 2b44550

Please sign in to comment.