You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type 'string[]' is not assignable to type '(string & Cell[]) | (number & Cell[]) | (false & Cell[]) | (true & Cell[]) | (CellOptions & Cell[])'.
Type 'string[]' is not assignable to type 'CellOptions & Cell[]'.
Property 'content' is missing in type 'string[]' but required in type 'CellOptions'.ts(2322)
From the syntax in your table, it seems your table is not correct. Each row pushed into the table is expected to be an array of cells. You're pushing objects into the table.
Problem:
This code snippet produce such error from Typescript:
According to the documentation about cross table this code should be absolutely valid https://github.com/cli-table/cli-table3#cross-tables.
Could you check the typing for that case or maybe I'm wrong?
Environment
Typescript: 3.8.3
cli-table3: 0.6.0
The text was updated successfully, but these errors were encountered: