(entry: T)
| 168 | } |
| 169 | |
| 170 | function formatEntryDescription(entry: T): string { |
| 171 | const descriptionProperties = omit(entry, [...GLOBAL_HIDDEN_PROPERTIES, ...hiddenProperties, entryLabelProperty]); |
| 172 | const descriptionLines = Object.keys(descriptionProperties) |
| 173 | .map(property => formatDescriptionProperty(entry, property as string)) |
| 174 | .filter(Boolean); |
| 175 | |
| 176 | return descriptionLines.join("\n"); |
| 177 | } |
| 178 | |
| 179 | function formatEntry(entry: T): { name: string, value: string } { |
| 180 | return { |
no test coverage detected