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
TS2345: Argument of type '{ columns: ({ alignment: string; width: number; } | { alignment: string; width?: undefined; })[]; spanningCells: ({ col: number; row: number; colSpan: number; rowSpan?: undefined; verticalAlignment?: undefined; alignment?: undefined; } | { ...; } | { ...; })[]; }' is not assignable to parameter of type 'TableUserConfig'. Type '{ columns: ({ alignment: string; width: number; } | { alignment: string; width?: undefined; })[]; spanningCells: ({ col: number; row: number; colSpan: number; rowSpan?: undefined; verticalAlignment?: undefined; alignment?: undefined; } | { ...; } | { ...; })[]; }' is not assignable to type 'BaseUserConfig'. Types of property 'columns' are incompatible. Type '({ alignment: string; width: number; } | { alignment: string; width?: undefined; })[]' is not assignable to type 'Indexable<ColumnUserConfig>'. 'number' index signatures are incompatible. Type '{ alignment: string; width: number; } | { alignment: string; width?: undefined; }' is not assignable to type 'ColumnUserConfig'. Type '{ alignment: string; width: number; }' is not assignable to type 'ColumnUserConfig'. Type '{ alignment: string; width: number; }' is not assignable to type 'CellUserConfig'. Types of property 'alignment' are incompatible. Type 'string' is not assignable to type 'Alignment | undefined'.
The text was updated successfully, but these errors were encountered:
Throw the TS error:
The text was updated successfully, but these errors were encountered: