chore(angular): update proxies

This commit is contained in:
Manu Mtz.-Almeida
2018-09-25 20:58:46 +02:00
parent 9badb085d8
commit a74fd6f414
3 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ export function inputs(instance: any, el: ElementRef, props: string[]) {
});
}
export function proxyEvent(emitter: any, el: Node, eventName: string) {
export function proxyEvent(emitter: any, el: EventTarget, eventName: string) {
el.addEventListener(eventName, (ev) => {
emitter.emit(ev);
});