build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user