Typescript: errors in the xlsx types #2828
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2828
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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 am using in my Node/Typescript project
"xlsx": "file:vendor/xlsx-0.19.0.tgz"
, and when I start building the project usingtsc
, I get this:How do I resolve this? (I also tried with the
@types/xlxs
but I get the same error)Type errors in the xlsx packageto Typescript: errors in the xlsx typesThanks for the heads up! That is a type error. To unblock immediately, save the attached file to
patches/xlsx+0.19.0.patch
and runnpx patch-package
to apply the patch.The actual patch:
To test:
0.19.1 has the corrected types.
To ensure this does not happen in the future, the Deno tests are run with
--check
. That should ensure the final test process catches type errors.Thank you