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('CommitteeTabComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ CommitteeTabComponent ]
})
.compileComponents();
declarations: [CommitteeTabComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -19,7 +19,6 @@ import { GroupsService } from 'app/groups/groups.service';
styleUrls: ['./committee-tab.component.scss']
})
export class CommitteeTabComponent {
/** Group Status */
groupStatus: any;
/** Group Roles Data */
@@ -27,7 +26,12 @@ export class CommitteeTabComponent {
/** Groups View Data */
groupViewData: any;
/** Columns to be Displayed for client members table */
groupRolesColumns: string[] = ['Name', 'Role', 'Client Id', 'Actions'];
groupRolesColumns: string[] = [
'Name',
'Role',
'Client Id',
'Actions'
];
/** Roles Table */
@ViewChild('rolesTable') rolesTableRef: MatTable<Element>;
@@ -38,9 +42,11 @@ export class CommitteeTabComponent {
* @param {GroupsService} groupsService Groups Service
* @param {MatDialog} dialog Mat Dialog
*/
constructor(private route: ActivatedRoute,
private groupsService: GroupsService,
public dialog: MatDialog) {
constructor(
private route: ActivatedRoute,
private groupsService: GroupsService,
public dialog: MatDialog
) {
this.route.parent.data.subscribe((data: { groupViewData: any }) => {
this.groupViewData = data.groupViewData;
this.groupRolesData = this.groupViewData.groupRoles;
@@ -65,5 +71,4 @@ export class CommitteeTabComponent {
}
});
}
}