How to import External JavaScript library pdfmake in Ionic


#1

I want to use External JavaScript library pdfmake in Ionic 2(typescript).

Can any body please guide me how to do that ?

library link : https://www.npmjs.com/package/pdfmake