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('EntityNameComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ EntityNameComponent ]
})
.compileComponents();
declarations: [EntityNameComponent]
}).compileComponents();
});
beforeEach(() => {
@@ -7,7 +7,6 @@ import { Clipboard } from '@angular/cdk/clipboard';
styleUrls: ['./entity-name.component.scss']
})
export class EntityNameComponent implements OnInit {
@Input() entityName: string;
@Input() display = 'right';
@@ -15,11 +14,11 @@ export class EntityNameComponent implements OnInit {
displayL = false;
displayR = true;
constructor(private clipboard: Clipboard) { }
constructor(private clipboard: Clipboard) {}
ngOnInit(): void {
this.displayL = (this.display === 'left');
this.displayR = (this.display === 'right');
this.displayL = this.display === 'left';
this.displayR = this.display === 'right';
}
copyValue(): void {