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('RevertTransactionComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ RevertTransactionComponent ]
})
.compileComponents();
declarations: [RevertTransactionComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -12,7 +12,6 @@ import { UntypedFormControl } from '@angular/forms';
styleUrls: ['./revert-transaction.component.scss']
})
export class RevertTransactionComponent {
/** Comments input form control. */
comments = new UntypedFormControl('');
@@ -20,7 +19,8 @@ export class RevertTransactionComponent {
* @param {MatDialogRef} dialogRef Component reference to dialog.
* @param {any} data Provides comments or reverted transaction ID.
*/
constructor(public dialogRef: MatDialogRef<RevertTransactionComponent>,
@Inject(MAT_DIALOG_DATA) public data: any) { }
constructor(
public dialogRef: MatDialogRef<RevertTransactionComponent>,
@Inject(MAT_DIALOG_DATA) public data: any
) {}
}