Skip to content

Conversation

@cartant
Copy link
Collaborator

@cartant cartant commented Apr 28, 2021

Description:

This PR adds @deprecated tags to the error constructors so that devs attempting to create instances of this package's errors will be told they're being naughty. We can't tag them as @internal because TypeScript gets too upset about it - see linked issue and PR.

This PR also adds some dtslint tests to make sure the deprecations work properly and don't interfere with instanceof usage.

Related issue (if exists): #6269 and #6275

@cartant cartant requested a review from benlesh April 28, 2021 07:20
@benlesh benlesh merged commit e572d2e into ReactiveX:master Apr 28, 2021
@cartant cartant deleted the cartant/deprecate-error-ctors branch May 2, 2021 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants