We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
That is, unless the method leverages the arguments variable.
arguments
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"
"Expected 0 arguments, but got 1"
Thinking that the argument in the HTML should be removed to make:
<div (click)="doSomething()">
The text was updated successfully, but these errors were encountered:
Make sure to look in component superclasses for the method as well if it doesn't exist
Sorry, something went wrong.
No branches or pull requests
That is, unless the method leverages the
arguments
variable.Example of this issue:
html:
ts:
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:
The text was updated successfully, but these errors were encountered: