I w’d fix those errors, but I need to know, whether here iteration is over row array keys is deliberated? @kuba-orlik
Error (ESLINT) @typescript-eslint/no-for-in-array
For-in loops over arrays are forbidden. Use for-of or array.forEach
instead.
108 if (!isTableData(tableData)) {
109 throw new Error("wrong table data");
110 }
>>> 111 for (const i in tableData.rows) {
^
112 const row = tableData.rows[i];
113 if (isTableRegularRow(row)) {
114 row.cells.push(empty_value);