not async. cleanup tsconfig

This commit is contained in:
Kyle Spearrin 2018-10-03 09:51:12 -04:00
parent 2ca8ac573b
commit c53b690097
2 changed files with 3 additions and 10 deletions

View File

@ -5,6 +5,7 @@ import {
ToasterContainerComponent,
ToasterService,
} from 'angular2-toaster';
import { Angulartics2 } from 'angulartics2';
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
import {
@ -24,8 +25,6 @@ import { PremiumComponent } from './accounts/premium.component';
import { SettingsComponent } from './accounts/settings.component';
import { PasswordGeneratorHistoryComponent } from './vault/password-generator-history.component';
import { Angulartics2 } from 'angulartics2';
import { ModalComponent } from 'jslib/angular/components/modal.component';
import { BroadcasterService } from 'jslib/angular/services/broadcaster.service';
@ -141,7 +140,7 @@ export class AppComponent implements OnInit {
PasswordGeneratorHistoryComponent, this.passwordHistoryRef);
break;
case 'showToast':
await this.showToast(message);
this.showToast(message);
break;
case 'analyticsEventTrack':
this.analytics.eventTrack.next({
@ -240,7 +239,7 @@ export class AppComponent implements OnInit {
});
}
private async showToast(msg: any) {
private showToast(msg: any) {
const toast: Toast = {
type: msg.type,
title: msg.title,

View File

@ -17,12 +17,6 @@
"@angular/*": [
"node_modules/@angular/*"
],
"angular2-toaster": [
"node_modules/angular2-toaster"
],
"angulartics2": [
"node_modules/angulartics2"
],
"electron": [
"node_modules/electron"
],