I am trying to use Observable.interval on angular 8 and it doesn't seem to like it.
First I import rxjs:
import { Observable } from 'rxjs';
Then the code:
Observable.interval(1000).subscribe(x => {
// something
});
What is the angular 8 syntax?
import { interval } from 'rxjs';
and you use it directly. – Underdeveloped