chore: run format

This commit is contained in:
Vlad Frangu
2025-10-05 16:13:56 +03:00
parent 2a712d4909
commit 8dc1692d87
189 changed files with 3172 additions and 916 deletions

View File

@@ -23,9 +23,18 @@ export class DocumentedItem<Data = DeclarationReflection | Item> {
private detailedName() {
const data = this.data as unknown as Item | undefined;
if (!data) return this.constructor.name;
if (data.id) return `${data.id} (${this.constructor.name})`;
if (data.name) return `${data.name} (${this.constructor.name})`;
if (!data) {
return this.constructor.name;
}
if (data.id) {
return `${data.id} (${this.constructor.name})`;
}
if (data.name) {
return `${data.name} (${this.constructor.name})`;
}
return this.constructor.name;
}
}