refactor: format & lint

This commit is contained in:
Victor Berchet
2016-12-14 15:10:43 -08:00
parent 169ed82900
commit c65b4fa9dc
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ export class DirectiveResolver {
host[`[${propName}]`] = propName;
}
});
const hostListeners = propertyMetadata[propName].filter(a => a && a instanceof HostListener)
const hostListeners = propertyMetadata[propName].filter(a => a && a instanceof HostListener);
hostListeners.forEach(hostListener => {
const args = hostListener.args || [];
host[`(${hostListener.eventName})`] = `${propName}(${args.join(',')})`;