import { interval, animationFrameScheduler } from 'rxjs'; it('should infer correctly with number param', () => { const a = interval(1); // $ExpectType Observable }); it('should infer correctly with no param', () => { const a = interval(); // $ExpectType Observable }); it('should support scheduler', () => { const a = interval(1, animationFrameScheduler); // $ExpectType Observable });