mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor: format & lint
This commit is contained in:
parent
169ed82900
commit
c65b4fa9dc
2 changed files with 2 additions and 2 deletions
|
|
@ -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(',')})`;
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ export function main() {
|
|||
'[p22]': 'p2',
|
||||
'[c2]': 'p2'
|
||||
});
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
describe('queries', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue