I am currently working on a project that is written in TypeScript 2.2. However, I now need to incorporate an external library that is coded in TypeScript 2.6.
Unfortunately, when I try to import a class from the external library, the project compilation fails.
When attempting to use functions from the external class, I receive errors such as "Supplied parameters don't match function signature" (even though they do).
Upgrading my TypeScript version to 2.6 would cause the entire project to break.
Is there a possible solution to either compile or downgrade the 2.6 code to 2.2, or perhaps utilize two separate compilers - one for the main project (excluding the 2.6 library) and another specifically for the library?