Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
fix(LogMonitorButton): Fixed metadata generation bug with event handler
Browse files Browse the repository at this point in the history
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
  • Loading branch information
MikeRyanDev committed Mar 10, 2016
1 parent f99657d commit b5f69a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/monitors/log-monitor/log-monitor-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({});
}
Expand Down

0 comments on commit b5f69a7

Please sign in to comment.