I currently have an angular application that is using typescript version 1.8.10
and everything is running smoothly. However, I am interested in upgrading the typescript version to 2.9.2
. After making this change in my package.json file and running npm install, I encountered numerous errors. Is there a specific step I need to take to successfully use this new version?
Error with Version 2.9.2
Severity Code Description File Project Line Suppression State Error Build:',' expected. C:\WebProjects\ITF\Web\node_modules\typescript\lib\lib.es6.d.ts
Update: I attempted to upgrade typescript to version 4.6.4 but I received a different error related to the same file.
Error with Version 4.6.4
Severity Code Description File Project Line Suppression State Error Build:Invalid 'reference' directive syntax. C:\WebProjects\ITF\Web\node_modules\typescript\lib\lib.es6.d.ts