I updated rxjs from version 6.x.x to 7.x.x, but following error appeared:
Error in src/app/app.component.ts (12:19) Expected 1 arguments, but got 0.
when trying to next
an empty value to the Subject
destroy$ = new Subject();
constructor() {
this.destroy$.next(); // <-- Expected 1 arguments, but got 0.
}