build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -12,5 +12,3 @@ export interface PaymentDetail {
|
||||
receiptNumber: string;
|
||||
bankNumber: string;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+2
-3
@@ -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 !== '';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user