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('ViewAccountTransferComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ViewAccountTransferComponent ]
})
.compileComponents();
declarations: [ViewAccountTransferComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -9,15 +9,16 @@ import { ActivatedRoute } from '@angular/router';
styleUrls: ['./view-account-transfer.component.scss']
})
export class ViewAccountTransferComponent {
viewAccountTransferData: any;
/**
* Retrieves the view account transfer data from `resolve`.
* @param {ActivatedRoute} route Activated Route.
* @param {Location} location Location.
*/
constructor(private route: ActivatedRoute,
private location: Location) {
constructor(
private route: ActivatedRoute,
private location: Location
) {
this.route.data.subscribe((data: { viewAccountTransferData: any }) => {
this.viewAccountTransferData = data.viewAccountTransferData;
});
@@ -38,5 +39,4 @@ export class ViewAccountTransferComponent {
transactionColor(): string {
return this.viewAccountTransferData.reversed ? 'undo' : 'active';
}
}