How pass 2 parameters to EventEmitter angular2
I have in my component a EventEmitter but I can't compile because return this error: "Supplied parameters do not match any signature of call target" My component: @Output() addModel = new EventEmitter<any>(); saveModel($event, make, name) { this.addModel.emit(make, name); } If i delete one of parameters in this.addModel.emit() it work, but so, Can i pass 2 parameters and how, to my eventEmitter? I tried also with : @Output() addModel = new EventEmitter<any,any>(); but It doesn't work If you look at the EventEmitter API's emit method, it can only take single parameter of type T emit(value?: T)