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
@@ -13,20 +13,18 @@ import { CollateralsService } from '../collaterals.service';
*/
@Injectable()
export class ClientCollateralResolver implements Resolve<Object> {
/**
* @param {CollateralsService} collateralsService Collaterals service.
*/
constructor(private collateralsService: CollateralsService) {}
/**
* @param {CollateralsService} collateralsService Collaterals service.
*/
constructor(private collateralsService: CollateralsService) { }
/**
* Returns the Client Collateral data.
* @returns {Observable<any>}
*/
resolve(route: ActivatedRouteSnapshot): Observable<any> {
const clientId = route.parent.paramMap.get('clientId');
const collateralId = route.parent.paramMap.get('collateralId');
return this.collateralsService.getClientCollateral(clientId, collateralId);
}
/**
* Returns the Client Collateral data.
* @returns {Observable<any>}
*/
resolve(route: ActivatedRouteSnapshot): Observable<any> {
const clientId = route.parent.paramMap.get('clientId');
const collateralId = route.parent.paramMap.get('collateralId');
return this.collateralsService.getClientCollateral(clientId, collateralId);
}
}