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
+2 -6
View File
@@ -12,8 +12,7 @@ import { Observable } from 'rxjs';
providedIn: 'root'
})
export class CollectionsService {
constructor(private http: HttpClient) { }
constructor(private http: HttpClient) {}
/**
* Returns all the offices
@@ -27,9 +26,7 @@ export class CollectionsService {
* @param {officeId} OfficeId any
*/
getStaffs(officeId: any): Observable<any> {
const httpParams = new HttpParams()
.set('officeId', officeId)
.set('status', 'all');
const httpParams = new HttpParams().set('officeId', officeId).set('status', 'all');
return this.http.get(`/staff`, { params: httpParams });
}
@@ -50,5 +47,4 @@ export class CollectionsService {
const httpParams = new HttpParams().set('command', 'saveCollectionSheet');
return this.http.post(`/collectionsheet`, data, { params: httpParams });
}
}