Commit 920976003675c072d8fc3d56e614948e304e8387

Authored by Kalutka Zhenya
1 parent ecf3f6a1

Refactoring

... ... @@ -256,6 +256,7 @@ import {
256 256 animate,
257 257 } from '@angular/animations';
258 258 import { onParentScrollOrWindowResize } from '@core/utils';
  259 +import ClickEvent = JQuery.ClickEvent;
259 260
260 261 export const toastAnimations: {
261 262 readonly showHideToast: AnimationTriggerMetadata;
... ... @@ -356,7 +357,7 @@ export class TbSnackBarComponent implements AfterViewInit, OnDestroy {
356 357 }
357 358 }
358 359
359   - action(event): void {
  360 + action(event: MouseEvent): void {
360 361 event.stopPropagation();
361 362 if (this.snackBarRef) {
362 363 this.snackBarRef.dismissWithAction();
... ...