we have just recently upgraded Rxjs Latest(8.0.0-alpha.5) version.And this error started appearing.
this.ReportController.ExportTableExcelBackground(model).subscribe(
(x) => {
this.appController.BlockApplication(false);
if (x.IsSuccess) {
const msgInfo = "The report will be downloaded when finished.";
this.alertController.RegisterAlertMessage(
[msgInfo],
AlertMessageType.SUCCESS,
true
);
} else {
this.appController.OpenErrorServerPopup(x.Message);
}
},
(error: any) => {
this.appController.BlockApplication(false);
this.appController.OpenErrorServerPopup(error);
}
);
When hover on error it says Expected 0-1 arguments, but got 2 Any idea what is changed in RXJS latest version and how to fix this?