refactor: format & lint

This commit is contained in:
Victor Berchet
2016-12-14 15:10:43 -08:00
parent a0437f8c9d
commit a72a002a8d
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(',')})`;