refactor: format & lint
This commit is contained in:
parent
169ed82900
commit
c65b4fa9dc
@ -90,7 +90,7 @@ export class DirectiveResolver {
|
|||||||
host[`[${propName}]`] = propName;
|
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 => {
|
hostListeners.forEach(hostListener => {
|
||||||
const args = hostListener.args || [];
|
const args = hostListener.args || [];
|
||||||
host[`(${hostListener.eventName})`] = `${propName}(${args.join(',')})`;
|
host[`(${hostListener.eventName})`] = `${propName}(${args.join(',')})`;
|
||||||
|
@ -361,7 +361,7 @@ export function main() {
|
|||||||
'[p22]': 'p2',
|
'[p22]': 'p2',
|
||||||
'[c2]': 'p2'
|
'[c2]': 'p2'
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('queries', () => {
|
describe('queries', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user