build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -8,9 +8,8 @@ describe('ListTransactionsComponent', () => {
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ ListTransactionsComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
declarations: [ListTransactionsComponent]
|
||||
}).compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
@@ -13,14 +13,17 @@ import { ActivatedRoute } from '@angular/router';
|
||||
styleUrls: ['./list-transactions.component.scss']
|
||||
})
|
||||
export class ListTransactionsComponent {
|
||||
|
||||
|
||||
/** List Transactions Data */
|
||||
listTransactionData: any;
|
||||
/** Data source for instructions table. */
|
||||
dataSource = new MatTableDataSource();
|
||||
/** Columns to be displayed in instructions table. */
|
||||
displayedColumns: string[] = ['transactionDate', 'amount', 'notes', 'reversed'];
|
||||
displayedColumns: string[] = [
|
||||
'transactionDate',
|
||||
'amount',
|
||||
'notes',
|
||||
'reversed'
|
||||
];
|
||||
|
||||
/** Paginator for centers table. */
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
@@ -36,5 +39,4 @@ export class ListTransactionsComponent {
|
||||
this.dataSource.paginator = this.paginator;
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user