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('ViewSavingsAccountingDetailsComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ ViewSavingsAccountingDetailsComponent ]
})
.compileComponents();
declarations: [ViewSavingsAccountingDetailsComponent]
}).compileComponents();
fixture = TestBed.createComponent(ViewSavingsAccountingDetailsComponent);
component = fixture.componentInstance;
@@ -8,11 +8,10 @@ import { OptionData } from 'app/shared/models/option-data.model';
styleUrls: ['./view-savings-accounting-details.component.scss']
})
export class ViewSavingsAccountingDetailsComponent {
@Input() accountingRule: OptionData;
@Input() accountingMappings: any[] = [];
constructor(private accounting: Accounting) { }
constructor(private accounting: Accounting) {}
isCashOrAccrualAccounting(): boolean {
if (this.accountingRule) {
@@ -31,5 +30,4 @@ export class ViewSavingsAccountingDetailsComponent {
getAccountingRuleName(value: string): string {
return this.accounting.getAccountRuleName(value.toUpperCase());
}
}