I am using ADAL in my Angular 2 App for authentication
Getting the below error while compiling.
ERROR in C:/abc/src/app/services/adal.service.ts (5,26): Cannot find namespace 'adal'.
ERROR in C:/abc/src/app/services/adal.service.ts (5,61): Cannot find name 'AuthenticationContext'.
ERROR in C:/abc/src/app/services/adal.service.ts (10,22): Cannot find namespace 'adal'.
webpack: Failed to compile.
adal.service.ts
----------------------------
import {ConfigService} from './config.service';
import {Injectable} from '@angular/core';
import 'expose-loader?AuthenticationContext!../../../node_modules/adal-angular/lib/adal.js';
let createAuthContextFn: adal.AuthenticationContextStatic = AuthenticationContext;
@Injectable()
export class AdalService {
private context: adal.AuthenticationContext;
Am i missing any imports ?