Skip to content

Commit

Permalink
temp: add typedoc-transform package x7
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyauhalin committed Dec 12, 2024
1 parent 3fbe4e8 commit f330931
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/typedoc-transformer/lib/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ export class Processor extends AsyncTransform {
const [g, err] = await Group.from(o)
console.log(`Group ${g.toDescription()} created`)

if (err) {
console.error(`Group created with errors\n${err}`)
for (const e of errors.split(err)) {
console.error(`Group created with an error: ${e}`)
}

return g
Expand All @@ -419,8 +419,8 @@ export class Processor extends AsyncTransform {
const [d, err] = await Declaration.from(o)
console.log(`Declaration ${d.toDescription()} created`)

if (err) {
console.error(`Declaration created with errors\n${err}`)
for (const e of errors.split(err)) {
console.error(`Declaration created with an error: ${e}`)
}

d.trail.virtual = this.#v.trail
Expand All @@ -433,8 +433,8 @@ export class Processor extends AsyncTransform {
const [f, err] = await Fragment.from(o)
console.log(`Fragment ${f.toDescription()} created`)

if (err) {
console.error(`Fragment created with errors\n${err}`)
for (const e of errors.split(err)) {
console.error(`Fragment created with an error: ${e}`)
}

f.trail.virtual = this.#v.trail
Expand Down

0 comments on commit f330931

Please sign in to comment.