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('MemberGroupsComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ MemberGroupsComponent ]
})
.compileComponents();
declarations: [MemberGroupsComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -10,9 +10,11 @@ import { MatTableDataSource } from '@angular/material/table';
styleUrls: ['./member-groups.component.scss']
})
export class MemberGroupsComponent {
/** Columns to be displayed in the member groups table. */
displayedColumns: string[] = ['accountNo', 'name'];
displayedColumns: string[] = [
'accountNo',
'name'
];
/** Data source for member groups table. */
dataSource: MatTableDataSource<any>;
@@ -28,7 +30,7 @@ export class MemberGroupsComponent {
this.dataSource.sort = this.sort;
}
constructor() { }
constructor() {}
/**
* Filters data in member groups table based on passed value.
@@ -37,5 +39,4 @@ export class MemberGroupsComponent {
applyFilter(filterValue: string) {
this.dataSource.filter = filterValue.trim().toLowerCase();
}
}