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('ErrorDialogComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ ErrorDialogComponent ]
})
.compileComponents();
declarations: [ErrorDialogComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -8,15 +8,15 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
styleUrls: ['./error-dialog.component.scss']
})
export class ErrorDialogComponent {
showAsCode = false;
/**
* @param {MatDialogRef} dialogRef Component reference to dialog.
* @param {any} data Provides any data.
*/
constructor(public dialogRef: MatDialogRef<ErrorDialogComponent>,
@Inject(MAT_DIALOG_DATA) public data: string) {
this.showAsCode = (data.startsWith('<pre><code>'));
constructor(
public dialogRef: MatDialogRef<ErrorDialogComponent>,
@Inject(MAT_DIALOG_DATA) public data: string
) {
this.showAsCode = data.startsWith('<pre><code>');
}
}