observable.create está en desuso
this.data$ = new Observable((observer: Observer) => {
observer.next();
observer.complete();
});
Precious Peafowl
this.data$ = new Observable((observer: Observer) => {
observer.next();
observer.complete();
});