Skip to content

fix(Symbol.observable): properly defined as a unique symbol.#5874

Merged
benlesh merged 1 commit intoReactiveX:masterfrom
benlesh:fix/Symbol-observable-typescript-declaration
Nov 2, 2020
Merged

fix(Symbol.observable): properly defined as a unique symbol.#5874
benlesh merged 1 commit intoReactiveX:masterfrom
benlesh:fix/Symbol-observable-typescript-declaration

Conversation

@benlesh
Copy link
Member

@benlesh benlesh commented Nov 2, 2020

Resolves #5861
Resolves #4415

This is also related to issues here: benlesh/symbol-observable#41

I don't think we can publish this in 6.x, as it will break people using older versions of @types/node, however, we do need to set an upper bounds for @types/node and version 6.x.

@benlesh benlesh merged commit 374138e into ReactiveX:master Nov 2, 2020
@benlesh
Copy link
Member Author

benlesh commented Nov 2, 2020

Added breaking change note to show in up in the CHANGELOG.

kwonoj added a commit that referenced this pull request Apr 12, 2021
kwonoj added a commit that referenced this pull request Apr 15, 2021
benlesh pushed a commit that referenced this pull request Apr 15, 2021
* fix(symbol): revert unique symbol in #5874

- closes #5919

* fix(types): move Symbol.observable into types.ts (#6178)

Closes #6175

Co-authored-by: Nicholas Jamieson <nicholas@cartant.com>
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.

Node v14: internal/types.d.ts(45,13): Property 'observable' does not exist on type 'SymbolConstructor'. RxJS incorrectly defines observable symbol

2 participants