Error TypeError: by.subject no es un constructor
import { Subject } from "rxjs";
Muhammad Mabrouk
import { Subject } from "rxjs";