(options?: Partial<TableOptions>)
| 248 | } |
| 249 | |
| 250 | const newOutputTable = (options?: Partial<TableOptions>): Table => { |
| 251 | const configuredOptions = { ...tableOptions } |
| 252 | |
| 253 | if (options) { |
| 254 | return setupTable({ ...configuredOptions, ...options }) |
| 255 | } |
| 256 | return setupTable(configuredOptions) |
| 257 | } |
| 258 | |
| 259 | const buildTableFromItem = <T extends object>(item: T, definitions: TableFieldDefinition<T>[]): string => { |
| 260 | const table = newOutputTable() |
no test coverage detected