That is, unless the method leverages the arguments variable.
Example of this issue:
html:
<div (click)="doSomething( $event )">
ts:
public doSomething() { // <-- no parameter
// ...
}
This causes a TypeScript error on AOT compilation: "Expected 0 arguments, but got 1"
Thinking that the argument in the HTML should be removed to make:
<div (click)="doSomething()">