bufferTime typings do not accept bufferCreationInterval null #3728
Labels
bug
Confirmed bug
help wanted
Issues we wouldn't mind assistance with.
TS
Issues and PRs related purely to TypeScript issues
RxJS version:
6.1.0
Code to reproduce:
Expected behavior:
Typescript code should compile the code correctly with strictNullChecks.
Actual behavior:
Additional information:
The tests for bufferTime in spec/operators/bufferTime-spec.ts test that it works to send in null as bufferCreationInterval (https://github.com/ReactiveX/rxjs/blob/master/spec/operators/bufferTime-spec.ts#L45), but the typings for bufferTime specifies that bufferCreationInterval is a number only. The reason that your tests compile is that you have strictNullChecks set to false in tsconfig.json.
The text was updated successfully, but these errors were encountered: