Chore: ng lint using the recommended @angular-eslint style
This commit is contained in:
@ -24,10 +24,8 @@ export class ProductSaleReportService {
|
||||
if (finishDate !== null) {
|
||||
options.params = options.params.set('f', finishDate);
|
||||
}
|
||||
return <Observable<ProductSaleReport>>(
|
||||
this.http
|
||||
.get<ProductSaleReport>(url, options)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'get')))
|
||||
);
|
||||
return this.http
|
||||
.get<ProductSaleReport>(url, options)
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'get'))) as Observable<ProductSaleReport>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user