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,11 +13,10 @@ import { SharesService } from '../shares.service';
*/
@Injectable()
export class ShareAccountActionsResolver implements Resolve<Object> {
/**
* @param {sharesService} SharesService Shares service.
*/
constructor(private sharesService: SharesService) { }
constructor(private sharesService: SharesService) {}
/**
* Returns the Shares account actions data.
@@ -37,5 +36,4 @@ export class ShareAccountActionsResolver implements Resolve<Object> {
return undefined;
}
}
}
@@ -13,11 +13,10 @@ import { SharesService } from '../shares.service';
*/
@Injectable()
export class SharesAccountAndTemplateResolver implements Resolve<Object> {
/**
* @param {SharesService} SharesService Shares service.
*/
constructor(private sharesService: SharesService) { }
constructor(private sharesService: SharesService) {}
/**
* Returns the Shares Account data and template.
@@ -28,5 +27,4 @@ export class SharesAccountAndTemplateResolver implements Resolve<Object> {
const shareAccountId = route.paramMap.get('shareAccountId');
return this.sharesService.getSharesAccountData(shareAccountId, true);
}
}
@@ -13,11 +13,10 @@ import { SharesService } from '../shares.service';
*/
@Injectable()
export class SharesAccountViewResolver implements Resolve<Object> {
/**
* @param {SharesService} SharesService Shares service.
*/
constructor(private sharesService: SharesService) { }
constructor(private sharesService: SharesService) {}
/**
* Returns the Shares Account data.
@@ -28,5 +27,4 @@ export class SharesAccountViewResolver implements Resolve<Object> {
const shareAccountId = route.paramMap.get('shareAccountId') || route.parent.paramMap.get('shareAccountId');
return this.sharesService.getSharesAccountData(shareAccountId, false);
}
}
@@ -13,11 +13,10 @@ import { SharesService } from '../shares.service';
*/
@Injectable()
export class SharesAccountTemplateResolver implements Resolve<Object> {
/**
* @param {SharesService} SharesService Shares service.
*/
constructor(private sharesService: SharesService) { }
constructor(private sharesService: SharesService) {}
/**
* Returns the Shares Account Template.
@@ -28,5 +27,4 @@ export class SharesAccountTemplateResolver implements Resolve<Object> {
const clientId = route.parent.parent.paramMap.get('clientId');
return this.sharesService.getSharesAccountTemplate(clientId);
}
}