Expected 0 type arguments, but got 1.ts(2558) code example
Example: Expected 1 arguments, but got 0.
(click)="myFunc(i)" //Index needs to be passed when button is inside *ngFor
(click)="myFunc(i)" //Index needs to be passed when button is inside *ngFor