build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -13,20 +13,18 @@ import { AccountTransfersService } from '../account-transfers.service';
|
||||
*/
|
||||
@Injectable()
|
||||
export class ViewStandingInstructionsResolver implements Resolve<Object> {
|
||||
/**
|
||||
* @param {accountTransfersService} AccountTransfersService Account Transfers service.
|
||||
*/
|
||||
constructor(private accountTransfersService: AccountTransfersService) {}
|
||||
|
||||
/**
|
||||
* @param {accountTransfersService} AccountTransfersService Account Transfers service.
|
||||
*/
|
||||
constructor(private accountTransfersService: AccountTransfersService) { }
|
||||
|
||||
/**
|
||||
* Returns the Standing Instructions Data.
|
||||
* @param {ActivatedRouteSnapshot} route Route Snapshot
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
resolve(route: ActivatedRouteSnapshot): Observable<any> {
|
||||
const standingInstructionsId = route.parent.paramMap.get('standingInstructionsId');
|
||||
return this.accountTransfersService.getStandingInstructionsData(standingInstructionsId);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Standing Instructions Data.
|
||||
* @param {ActivatedRouteSnapshot} route Route Snapshot
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
resolve(route: ActivatedRouteSnapshot): Observable<any> {
|
||||
const standingInstructionsId = route.parent.paramMap.get('standingInstructionsId');
|
||||
return this.accountTransfersService.getStandingInstructionsData(standingInstructionsId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user