Unable to build code containing TypeScript "named tuples" -- upgrade to TS 4 #1103
Labels
scope: dependencies
Pull requests that update a dependency file
solution: duplicate
This issue or pull request already exists
solution: workaround available
There is a workaround available for this issue
Milestone
Current Behavior
tsdx build
failed with below error:when building code containing "named tuples", like this:
the error pointed to the line
sx: number,
.Expected behavior
tsdx build
should build code containing "named tuples".Suggested solution(s)
I guess there's something wrong in the rollup plugins
tsdx
is using. Probably upgrading them would fix.Additional context
Staring from TypeScript 4.0, "named tuples" can be used to annotate parameters in an array.
Your environment
The text was updated successfully, but these errors were encountered: