From f19aa96f3eff7cc3ca758cbf181e92e48606e58d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 12 Sep 2018 15:18:37 -0400 Subject: [PATCH] remove swal hack again --- src/app/app.component.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index e56fe77c..72928425 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,6 +1,5 @@ import * as jq from 'jquery'; -import * as _swal from 'sweetalert'; -import { SweetAlert } from 'sweetalert/typings/core'; +import swal from 'sweetalert'; import { ToasterConfig, @@ -45,8 +44,6 @@ import { ConstantsService } from 'jslib/services/constants.service'; import { RouterService } from './services/router.service'; const BroadcasterSubscriptionId = 'AppComponent'; -// Hack due to Angular 5.2 bug -const swal: SweetAlert = _swal as any; const IdleTimeout = 60000 * 10; // 10 minutes @Component({