Skip to content

fix(Subject): no default generic#5430

Merged
benlesh merged 2 commits intoReactiveX:masterfrom
benlesh:Subject-no-default-generic
May 17, 2020
Merged

fix(Subject): no default generic#5430
benlesh merged 2 commits intoReactiveX:masterfrom
benlesh:Subject-no-default-generic

Conversation

@benlesh
Copy link
Member

@benlesh benlesh commented May 14, 2020

  • Changes Subject to not have a default generic of void
  • Adds dtslint tests for Subject, ReplaySubject, BehaviorSubject, and AsyncSubject

BREAKING CHANGE: new Subject() will return Subject<unknown>.

- Changes Subject to not have a default generic of `void`
- Adds dtslint tests for Subject, ReplaySubject, BehaviorSubject, and AsyncSubject

BREAKING CHANGE: `new Subject()` will return `Subject<unknown>`.
Copy link
Collaborator

@cartant cartant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Fixed some tests that were failing - due to the removal of the default - in this commit: 87b3a4f

@benlesh benlesh merged commit e678e81 into ReactiveX:master May 17, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants