build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -8,9 +8,8 @@ describe('LoanCollateralTabComponent', () => {
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ LoanCollateralTabComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
declarations: [LoanCollateralTabComponent]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
@@ -7,11 +7,15 @@ import { ActivatedRoute } from '@angular/router';
|
||||
styleUrls: ['./loan-collateral-tab.component.scss']
|
||||
})
|
||||
export class LoanCollateralTabComponent implements OnInit {
|
||||
|
||||
/** Loan Collateral Details */
|
||||
loanCollaterals: any[] = [];
|
||||
/** Columns to be displayed in collateral table. */
|
||||
displayedColumns: string[] = ['id', 'currency', 'description', 'total'];
|
||||
displayedColumns: string[] = [
|
||||
'id',
|
||||
'currency',
|
||||
'description',
|
||||
'total'
|
||||
];
|
||||
|
||||
totalAmount: number;
|
||||
|
||||
@@ -31,5 +35,4 @@ export class LoanCollateralTabComponent implements OnInit {
|
||||
this.totalAmount = this.totalAmount + collateral.value;
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user