I'm trying to use the interval method of an observable but I keep getting the error
Property 'interval' does not exist on type 'Observable<any>'.
I added these imports:
import "rxjs/Rx";
import "rxjs/add/observable/interval";
import "rxjs/observable/IntervalObservable";
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…