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('DropdownComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ DropdownComponent ]
})
.compileComponents();
declarations: [DropdownComponent]
}).compileComponents();
fixture = TestBed.createComponent(DropdownComponent);
component = fixture.componentInstance;
@@ -8,14 +8,13 @@ import { TranslateService } from '@ngx-translate/core';
styleUrls: ['./dropdown.component.scss']
})
export class DropdownComponent {
@Input() placeHolderText: string;
@Input() labelText: string;
@Input() selectOptions: any[] = [];
@Input() controlSelect: UntypedFormControl;
@Input() required: boolean;
constructor(private translateService: TranslateService) { }
constructor(private translateService: TranslateService) {}
getPlaceHolderText(): string {
return this.placeHolderText ? this.translateService.instant('labels.inputs.' + this.placeHolderText) : '';
@@ -28,5 +27,4 @@ export class DropdownComponent {
clearProperty() {
this.controlSelect.patchValue('');
}
}