node/typescript not working together #724
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#724
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I just installed this package using typescript (2.4.1) and node (7.10.0). I get the error:
I presume this is because
HTMLTableElement
is a dom construct which is not available in node.@shaunc good catch! looking back, the lint config specifies the DOM library, but that's clearly problematic. Short-term the fix is to just make those
any
types (we can accept a PR that makes the change in https://github.com/SheetJS/js-xlsx/blob/master/types/index.d.ts#L624-L625 )