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
@@ -11,9 +11,11 @@ import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms
export class EditNotesDialogComponent implements OnInit {
noteForm: UntypedFormGroup;
constructor(public dialogRef: MatDialogRef<EditNotesDialogComponent>,
constructor(
public dialogRef: MatDialogRef<EditNotesDialogComponent>,
private formBuilder: UntypedFormBuilder,
@Inject(MAT_DIALOG_DATA) public data: any) { }
@Inject(MAT_DIALOG_DATA) public data: any
) {}
ngOnInit() {
this.createNoteForm();
@@ -21,7 +23,10 @@ export class EditNotesDialogComponent implements OnInit {
createNoteForm() {
this.noteForm = this.formBuilder.group({
'note': [this.data.noteContent, Validators.required]
note: [
this.data.noteContent,
Validators.required
]
});
}
}