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('UploadImageDialogComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ UploadImageDialogComponent ]
})
.compileComponents();
declarations: [UploadImageDialogComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -11,14 +11,13 @@ import { MatDialogRef } from '@angular/material/dialog';
styleUrls: ['./upload-image-dialog.component.scss']
})
export class UploadImageDialogComponent {
/** Client Image */
image: File;
/**
* @param {MatDialogRef} dialogRef Component reference to dialog.
*/
constructor(public dialogRef: MatDialogRef<UploadImageDialogComponent>) { }
constructor(public dialogRef: MatDialogRef<UploadImageDialogComponent>) {}
/**
* Sets file form control value.
@@ -29,5 +28,4 @@ export class UploadImageDialogComponent {
this.image = $event.target.files[0];
}
}
}