remove swal hack

This commit is contained in:
Kyle Spearrin 2018-09-12 15:16:02 -04:00
parent 22a8f766c7
commit 2d6b4f1216
1 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1,4 @@
import * as _swal from 'sweetalert';
import { SweetAlert } from 'sweetalert/typings/core';
import swal from 'sweetalert';
import { DeviceType } from 'jslib/enums/deviceType';
@ -8,9 +7,6 @@ import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
import { Utils } from 'jslib/misc/utils';
// Hack due to Angular 5.2 bug
const swal: SweetAlert = _swal as any;
export class WebPlatformUtilsService implements PlatformUtilsService {
identityClientId: string = 'web';