I'm using the package ngneat/dialog with Angular version 17.3.4 and TypeScript version 5.4.5. Now, before the TypeScript version 5.4.5 everything worked like a charm. After updating to the latest version, an error occurs at multiple places in the Angular application.
The code looks like this:
this.dialogService.open(AcceptOfferDialogComponent, {
data: {
selectedOfferId: selectedOffer[0].tenderId
},
width: '100vw'
}).afterClosed$...
The error I receive is the one attached in the image. However, if I remove the data attribute from the config object, the error disappears. Any solutions?