Skip to main content

Class: MdTableBuilder<T>

@pvm/update.MdTableBuilder

Type parameters

Name
T

Hierarchy

Constructors

constructor

• new MdTableBuilder<T>()

Type parameters

Name
T

Defined in

packages/pvm-update/lib/utils/md-table.ts:17

Properties

columns

• columns: ColumnBuilder<T>[]

Defined in

packages/pvm-update/lib/utils/md-table.ts:13


• footer: string = ''

Defined in

packages/pvm-update/lib/utils/md-table.ts:15


rows

• Private Readonly rows: T[]

Defined in

packages/pvm-update/lib/utils/md-table.ts:12

Methods

addColumn

â–¸ addColumn(title, body): void

Parameters

NameType
titlestring
body(t: T) => string

Returns

void

Defined in

packages/pvm-update/lib/utils/md-table.ts:26


addRow

â–¸ addRow(row): void

Parameters

NameType
rowT

Returns

void

Defined in

packages/pvm-update/lib/utils/md-table.ts:22


build

â–¸ build(): string

Returns

string

Defined in

packages/pvm-update/lib/utils/md-table.ts:33