Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -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(); | ... | ... |