cli-ux icon indicating copy to clipboard operation
cli-ux copied to clipboard

Migration issue

Open maggiben opened this issue 4 years ago • 1 comments

I'm currently using these types import { TableColumn, TableOptions } from 'cli-ux/lib/styled/table'; from v4.93 but I want to use a newer version and I see these types are no longer exported, there are new like Column and Options what's the recommended way to use/import these types ?

maggiben avatar Jul 05 '21 03:07 maggiben

I did it this way, which seems to work?

import { table } from 'cli-ux/lib/styled/table';
// ...
const columns: table.Columns<T> = {};

humanchimp avatar Nov 12 '21 17:11 humanchimp