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('FloatingInterestRatesComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ FloatingInterestRatesComponent ]
})
.compileComponents();
declarations: [FloatingInterestRatesComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -7,20 +7,22 @@ import { ActivatedRoute } from '@angular/router';
styleUrls: ['./floating-interest-rates.component.scss']
})
export class FloatingInterestRatesComponent implements OnInit {
/** Loan Details */
loanDetails: any;
/** Interest Rate Data */
interestRateData: any;
/** Columns to be displayed in charges table. */
displayedColumns: string[] = ['fromDate', 'interestRate'];
displayedColumns: string[] = [
'fromDate',
'interestRate'
];
/**
* Retrieves the loans data from `resolve`.
* @param {ActivatedRoute} route Activated Route.
*/
constructor(private route: ActivatedRoute) {
this.route.parent.data.subscribe(( data: { loanDetailsData: any }) => {
this.route.parent.data.subscribe((data: { loanDetailsData: any }) => {
this.loanDetails = data.loanDetailsData;
});
}
@@ -28,5 +30,4 @@ export class FloatingInterestRatesComponent implements OnInit {
ngOnInit() {
this.interestRateData = this.loanDetails.interestRatesPeriods;
}
}