1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

Revert "remove swal hack"

This reverts commit 2d6b4f1216.
This commit is contained in:
Kyle Spearrin 2018-09-13 11:28:52 -04:00
parent f471fe62ea
commit c362fc4677

View File

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