Compilation error when using template literal types -- requires TS 4 #952
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
I want to use template literal types provided by TypeScript 4.1:
With the above code, in a blank project created with basic template, the build command ends with:
Note: compilation is successful if running
tsc
directly.Expected behavior
To compile without errors as when running
tsc
directly.Suggested solution(s)
Not sure, probably something around using the same TypeScript version or having proper babel support for newer TypeScript 4.1 features?
Additional context
Your environment
The text was updated successfully, but these errors were encountered: