Typescript 2.2 update #746
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#746
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?
For Typescript 2.2, in the index.d.ts <- file, the "object" type needs to be changed to "Object". And the file needs to be moved from the type folder to the root folder in order to be recognized by the typescript compiler.
Does
Object
work in newer versions of TS too?The structure was based on the official documentation and the dtslint README. If that is not working in TS 2.2, it's probably worth raising an issue there to get a clarification.
Yes, I can confirm this. I got it to work for me, this is a good post that explains the update. I only had to change one line in the index.d.ts(line 523):
and this is the explanation for the second argument.
I would have submitted a pull request, but the code is nowhere to find to do this.