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:
@ -9,12 +9,14 @@ describe('EmployeeDetailComponent', () => {
|
||||
let component: EmployeeDetailComponent;
|
||||
let fixture: ComponentFixture<EmployeeDetailComponent>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
|
||||
declarations: [EmployeeDetailComponent],
|
||||
}).compileComponents();
|
||||
}));
|
||||
beforeEach(
|
||||
waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [MatDialogModule, ReactiveFormsModule, RouterTestingModule],
|
||||
declarations: [EmployeeDetailComponent],
|
||||
}).compileComponents();
|
||||
}),
|
||||
);
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(EmployeeDetailComponent);
|
||||
|
||||
@ -45,7 +45,7 @@ export class EmployeeListDataSource extends DataSource<Employee> {
|
||||
if (this.paginator) this.paginator.length = x.length;
|
||||
}),
|
||||
)
|
||||
.pipe(map((x: any) => this.getPagedData(this.getSortedData(x))));
|
||||
.pipe(map((x: Employee[]) => this.getPagedData(this.getSortedData(x))));
|
||||
}
|
||||
|
||||
disconnect() {}
|
||||
|
||||
Reference in New Issue
Block a user