In some cases, developers have had to downgrade their TypeScript version in order for it to work with a specific npm package version.
Is it possible to do this with Visual Studio? I recently obtained a sample solution that utilized the angular2 npm package. The solution compiled successfully with the TypeScript version installed in my instance of Visual Studio, which I believe was 1.8.2.
However, when I upgraded to the latest version of TypeScript (2.0.1), the angular2 beta sample solution produced compilation errors. It seems that having the updated TypeScript version would support @angular2 final but not angular2 beta.
I can foresee a situation where I have two different solutions: one using angular2 beta and the other using @angular2 final. Installing the latest version of TypeScript to support @angular2 final would mean that the angular2 beta solution wouldn't compile.
Does anyone have suggestions on how to handle this scenario?