The problem is that ‘xml2js-es6-promise’ has no type definition. I’ve tried it:
Pili Calzaslargas
1

Just put that line

declare module ‘xml2js-es6-promise';

somewhere in your actual code. Like the main.ts file.