build: Use prettier for typescript

Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
Ralph Hopman
2025-01-15 11:59:30 +00:00
committed by Adam Saghy
parent 9d6cf1514a
commit cac1d11ad7
1812 changed files with 22516 additions and 16862 deletions
@@ -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;
});
}
}