-
-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
Using this :
const data = [
['0A', '0B', '0C'],
['1A', '1B', '1C'],
['2A', '2B', '2C']
];
const config = {
columns: {
0: {
wrapWord: true,
}
}
};
console.log(table(data, config));Will results with this error :
TSError: ⨯ Unable to compile TypeScript:
src/index.ts(594,27): error TS2345: Argument of type '{ columns: { 0: { wrapWord: boolean; }; }; }' is not assignable to parameter of type 'TableUserConfig'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels