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
@@ -12,5 +12,3 @@ export interface PaymentDetail {
receiptNumber: string;
bankNumber: string;
}
@@ -8,9 +8,8 @@ describe('TransactionPaymentDetailComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ TransactionPaymentDetailComponent ]
})
.compileComponents();
declarations: [TransactionPaymentDetailComponent]
}).compileComponents();
fixture = TestBed.createComponent(TransactionPaymentDetailComponent);
component = fixture.componentInstance;
@@ -1,14 +1,12 @@
import { Component, Input } from '@angular/core';
import { PaymentDetail } from './payment-detail-model';
@Component({
selector: 'mifosx-transaction-payment-detail',
templateUrl: './transaction-payment-detail.component.html',
styleUrls: ['./transaction-payment-detail.component.scss']
})
export class TransactionPaymentDetailComponent {
@Input() paymentDetailData: PaymentDetail;
constructor() {}
@@ -24,7 +22,6 @@ export class TransactionPaymentDetailComponent {
}
isNotNullOrEmpty(value: any): boolean {
return (value !== null && value !== '');
return value !== null && value !== '';
}
}