Hi @Vadillo - I solved my problem by using the library the old fashioned JavaScript way.
Since the “import” of my library was not working I just declared the namespace variable as global (i.e. after all the imports and before your TypeScript @Component or other class starts). Then I used that variable in the code. This of-course will work if the library is available globally, in my case it was.
Example code snippet:
//Start of imports
import { ... } from '...';
//End of imports
declare var variable-for-your-library: any;
@Injectable OR @Component
export class ... {
....
constructor or yourMethod(...) {
variable-for-your-library.FrunctionFromLibrary(...);
}
....
....
//Other logic
}
You can also try something like below. It did not work in my case but worth a try.