Removed the use of any and enabled the rule in eslint.

Now according to me the conversion is final.
Testing is required.
This commit is contained in:
2020-11-24 08:03:43 +05:30
parent 715e35ef38
commit 2972203148
92 changed files with 610 additions and 378 deletions
@@ -9,12 +9,14 @@ describe('IncentiveComponent', () => {
let component: IncentiveComponent;
let fixture: ComponentFixture<IncentiveComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
declarations: [IncentiveComponent],
}).compileComponents();
}));
beforeEach(
waitForAsync(() => {
TestBed.configureTestingModule({
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
declarations: [IncentiveComponent],
}).compileComponents();
}),
);
beforeEach(() => {
fixture = TestBed.createComponent(IncentiveComponent);
@@ -8,6 +8,7 @@ import { map } from 'rxjs/operators';
import { AuthService } from '../auth/auth.service';
import { Account } from '../core/account';
import { AccountBalance } from '../core/account-balance';
import { Incentive } from '../core/incentive';
import { ToasterService } from '../core/toaster.service';
import { User } from '../core/user';
@@ -28,7 +29,7 @@ export class IncentiveComponent implements OnInit {
form: FormGroup;
voucher: Voucher = new Voucher();
account: Account = new Account();
accBal: any;
accBal: AccountBalance | null = null;
displayedColumns = ['name', 'designation', 'department', 'daysWorked', 'points', 'amount'];