Upgrade typescript version on the devworkspace-generator side #23082
Labels
area/devworkspace-generator
kind/task
Internal things, technical debt, and to-do tasks to be performed.
severity/P1
Has a major impact to usage or development of the system.
team/A
This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che
Is your task related to a problem? Please describe
see https://github.com/devfile/devworkspace-generator/blob/07dcccb0376848b0fb75e250959c698696cd95b5/package.json#L61
TS2345: Argument of type 'import("/checode-compilation/extensions/che-remote/node_modules/some_type_here' is not assignable to parameter of type 'import("/checode-compilation/extensions/che-remote/node_modules/@eclipse-che/che-devworkspace-generator/node_modules/some_type_here.
So:
I was able to fix the problem by downgrading typescript version on the Che-Code side.
I believe we should upgrade typescript version on the devworkspace-generator side as soon as possible. After that I will test build of the che-code using the newest version of typescript (VS Code uses this one - so we have to use the same).
Describe the solution you'd like
Upgrade typescript version on the devworkspace-generator side - at the moment it uses a version that was released 3 years ago.
The text was updated successfully, but these errors were encountered: