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('FileUploadComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ FileUploadComponent ]
})
.compileComponents();
declarations: [FileUploadComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -10,7 +10,6 @@ import { Component, Input, Output, EventEmitter, OnInit } from '@angular/core';
styleUrls: ['./file-upload.component.scss']
})
export class FileUploadComponent implements OnInit {
/** Form field flex dimension */
@Input() flex: any;
@Input() acceptFilter: string;
@@ -18,7 +17,7 @@ export class FileUploadComponent implements OnInit {
/** Selected file name */
fileName: File;
constructor() { }
constructor() {}
ngOnInit() {
if (!this.acceptFilter) {
@@ -33,5 +32,4 @@ export class FileUploadComponent implements OnInit {
onFileSelect($event: any) {
this.fileName = $event.target.files[0].name;
}
}