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('SearchToolComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ SearchToolComponent ]
})
.compileComponents();
declarations: [SearchToolComponent]
}).compileComponents();
}));
beforeEach(() => {
@@ -15,16 +15,15 @@ import { UntypedFormControl } from '@angular/forms';
trigger('fadeInOut', [
transition(':enter', [
style({ opacity: 0 }),
animate(500, style({ opacity: 1 }))
]),
animate(500, style({ opacity: 1 }))]),
transition(':leave', [
animate(500, style({ opacity: 0 }))
])
animate(500, style({ opacity: 0 }))])
])
]
})
export class SearchToolComponent {
/** Query Form Control */
query = new UntypedFormControl('');
/** Resource Form Control */
@@ -57,7 +56,7 @@ export class SearchToolComponent {
{
name: 'Loans',
value: 'loans'
},
}
];
/**
@@ -84,5 +83,4 @@ export class SearchToolComponent {
};
this.router.navigate(['/search'], { queryParams: queryParams });
}
}