We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 578a338 commit a1c620dCopy full SHA for a1c620d
src/ExcelView.ts
@@ -103,9 +103,10 @@ export class ExcelView extends TextFileView {
103
const sheetData = stox(wb);
104
if (sheetData) {
105
sheetData.forEach((sheet) => {
106
- if (sheet.rows) {
107
- const last = Object.keys(sheet.rows).last() || "100"
108
- sheet.rows.len = Math.max(100, parseInt(last) + 20)
+ var sheetAny = sheet as any
+ if (sheetAny.rows) {
+ const last = Object.keys(sheetAny.rows).last() || "100"
109
+ sheetAny.rows.len = Math.max(100, parseInt(last) + 20)
110
}
111
})
112
this.sheet.loadData(sheetData)
0 commit comments