Fully working with the rule no explicit any
This commit is contained in:
@ -249,7 +249,7 @@ export class SalesHomeComponent {
|
||||
}
|
||||
const amount = this.bs.amountVal();
|
||||
const type = this.bs.type();
|
||||
let obs: any;
|
||||
let obs: Observable<boolean>;
|
||||
if (type === 'NO_CHARGE' || type === 'STAFF') {
|
||||
obs = this.receivePaymentWithReason(type, amount);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user