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('EditRoleComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ EditRoleComponent ]
})
.compileComponents();
declarations: [EditRoleComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -12,7 +12,7 @@ import { SystemService } from '../../system.service';
@Component({
selector: 'mifosx-edit-role',
templateUrl: './edit-role.component.html',
styleUrls: ['./edit-role.component.scss'],
styleUrls: ['./edit-role.component.scss']
})
export class EditRoleComponent implements OnInit {
/** Role Form */
@@ -50,8 +50,14 @@ export class EditRoleComponent implements OnInit {
*/
createRoleForm() {
this.roleForm = this.formBuilder.group({
name: [{ value: this.roleData.name, disabled: true }, Validators.required],
description: [this.roleData.description, Validators.required],
name: [
{ value: this.roleData.name, disabled: true },
Validators.required
],
description: [
this.roleData.description,
Validators.required
]
});
}