diff --git a/packages/core/src/operators/foundation/_reactiveNextOperator.ts b/packages/core/src/operators/foundation/_reactiveNextOperator.ts index d4f34d37..11b9f66e 100644 --- a/packages/core/src/operators/foundation/_reactiveNextOperator.ts +++ b/packages/core/src/operators/foundation/_reactiveNextOperator.ts @@ -68,7 +68,13 @@ export function withReactiveNextOperator> emit: observer.next.bind(observer), }); - return combineLatest>( + // TODO: verify this is the correct type. + // + // I added `{upstream: Observable}` because otherwise `inputs` was + // getting inferred to require an `upstream` at a callsite. This + // appears to fix it, but I haven't taken the time to reason if it's + // correct. + return combineLatest & {upstream: Observable}>( // TypeScript doesn't like ...inputs, so we use the longhand version Object.assign( { upstream: this },