From b5f69a712d8c6d9c3285db7053e799c7093b378f Mon Sep 17 00:00:00 2001 From: Mike Ryan Date: Wed, 9 Mar 2016 19:44:20 -0600 Subject: [PATCH] fix(LogMonitorButton): Fixed metadata generation bug with event handler TypeScript compiler was throwing an error that was not named in unit tests. This removes the type on the method signature as a temporary fix --- src/monitors/log-monitor/log-monitor-button.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monitors/log-monitor/log-monitor-button.ts b/src/monitors/log-monitor/log-monitor-button.ts index 8edee09..707740d 100644 --- a/src/monitors/log-monitor/log-monitor-button.ts +++ b/src/monitors/log-monitor/log-monitor-button.ts @@ -43,7 +43,7 @@ export class LogMonitorButton{ @HostBinding('class.disabled') @Input() disabled: boolean; @Output() action = new EventEmitter(); - @HostListener('click', ['$event']) handleAction($event: Event){ + @HostListener('click', ['$event']) handleAction($event){ if(!this.disabled){ this.action.next({}); }