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