gulpfile.js
function replace_d(cb) {
    gulp.src('./dist/adal.service.d.ts')
        .pipe(replace('../adal-angular.d.ts', './adal-angular.d.ts'))
        .pipe(gulp.dest('./dist/'));
    console.log('adal.service.d.ts Path Updated');
    cb();
}
function replace_d(cb) {
    gulp.src('./dist/adal.service.d.ts')
        .pipe(replace('../adal-angular.d.ts', './adal-angular.d.ts'))
        .pipe(gulp.dest('./dist/'));
    console.log('adal.service.d.ts Path Updated');
    cb();
}
function replace_d ( cb ) { gulp . src ( './dist/adal.service.d.ts' ) . pipe ( replace ( '../adal-angular.d.ts' , './adal-angular.d.ts' ) ) . pipe ( gulp . dest ( './dist/' ) ) ; console . log ( 'adal.service.d.ts Path Updated' ) ; cb ( ) ; }
5.  rewrite type definition file path for adal-angular in adal.service.d.ts
5 . rewrite type definition file path for adal - angular in adal . service . d . ts