You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That means that it's not possible to create a Notification instance (without resorting to an as any assertion).
This was a breaking change for me, as the tests for rxjs-spy need to be able to create Notification instances. (It's also a breaking change because current calls to the constructor - like new Notification("N", "alice") - are now invalid.)
The text was updated successfully, but these errors were encountered:
cartant
added a commit
to cartant/rxjs
that referenced
this issue
Jan 30, 2019
Bug Report
Current Behavior
6.4.0 introduced a const enum:
NotificationKind
. However, that enum is not exported:That means that it's not possible to create a
Notification
instance (without resorting to anas any
assertion).This was a breaking change for me, as the tests for
rxjs-spy
need to be able to createNotification
instances. (It's also a breaking change because current calls to the constructor - likenew Notification("N", "alice")
- are now invalid.)The text was updated successfully, but these errors were encountered: