7.8.2 introduces breaking changes
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 31.7k
- Forks
- 3k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Calling .next() with no arguments like this
new Observable((observer) => {
observer.next()
}
shows error
Expected 1 arguments, but got 0.ts(2554)
Subscriber.d.ts(42, 10): An argument for 'value' was not provided.
Expected behavior
No breaking changes in patch version updates.
Version
7.8.2
Additional context
Duplicate of https://github.com/ReactiveX/rxjs/issues/7534.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Subscriber.d.ts at line 42 and compare this report with the linked duplicate issue 7534. Verify the no-argument observer.next() example against the 7.8.2 typings; done means the example compiles without introducing a breaking change in the patch release.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100