Inside my NG2 project, if I write:
import adal from 'adal-angular';
it gives me 'adal is undefined'. Why is that?
I want to use adal.js inside my angular 2 project.
I already have run
npm install adal-angular --save
npm install @types/adal --save
Then, inside my component.ts file, if I do:
import adal from 'adal-angular';
adal is undefined.
How can I import it correctly inside my component.ts file, and also use the typings?