Can't use Typescript 4 features / Use project's Typescript version #1121
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
It's compiling against its own installed version of typescript 🤨
Expected behavior
Use the typescript version that's installed with a project, to compile it.
Suggested solution(s)
Set typescript as a peerDependency and tell users to install it themselves. I dont know how TSDX would handle that, but dictating a specific version is ridiculous, given the amount of new features Typescript still has from version to version.
Additional context
I don't want to be dependent on TSDX to dictate which version of Typescript can be used. Doesn't that make sense?
Your environment
(browser is missing though, but who cares about browsers in TSDX)
The text was updated successfully, but these errors were encountered: