SyntaxFix
Write A Post
Hire A Developer
Questions
You are using RxJS 6. Just replace
import { Observable } from 'rxjs/Observable'; import { of } from 'rxjs/observable/of';
by
import { Observable, of } from 'rxjs';