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('AccountDetailsComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ AccountDetailsComponent ]
})
.compileComponents();
declarations: [AccountDetailsComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -7,17 +7,15 @@ import { ActivatedRoute } from '@angular/router';
styleUrls: ['./account-details.component.scss']
})
export class AccountDetailsComponent {
loanDetails: any;
dataObject: {
property: string,
value: string
property: string;
value: string;
}[];
constructor(private route: ActivatedRoute) {
this.route.parent.data.subscribe((data: { loanDetailsData: any, }) => {
this.route.parent.data.subscribe((data: { loanDetailsData: any }) => {
this.loanDetails = data.loanDetailsData;
});
}
}