import { ToasterConfig, ToasterContainerComponent, } from 'angular2-toaster'; import { Angulartics2GoogleAnalytics } from 'angulartics2/ga'; import { Component, } from '@angular/core'; import { Router } from '@angular/router'; @Component({ selector: 'app-root', templateUrl: 'app.component.html', }) export class AppComponent { toasterConfig: ToasterConfig = new ToasterConfig({ showCloseButton: true, mouseoverTimerStop: true, animation: 'flyRight', limit: 5, }); constructor() { // } }