Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: operators are all exported at the top level, from "rxjs". #6488

Merged
merged 3 commits into from Jul 5, 2021

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Jun 21, 2021

This only moves the operators to the top level. Other things like ajax, webSocket, testing, and fromFetch all require more debate.

Related #6242

(Ironically, this will cause tools like Bundlephobia to be like "Whoa! This is bigger!" because they excluded the "deep" imports we had, like rxjs/operators)

@benlesh benlesh requested review from cartant and kwonoj June 21, 2021 16:37
@@ -249,7 +411,7 @@ export interface ObjectUnsubscribedError extends Error {

export declare const ObjectUnsubscribedError: ObjectUnsubscribedErrorCtor;

export declare const observable: string | symbol;
Copy link
Member Author

Choose a reason for hiding this comment

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

I have no idea why this keeps happening. :\

Copy link
Member Author

Choose a reason for hiding this comment

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

Apparently it's TS 4.3 inferring the type locally. I'll fix that here too.

@benlesh benlesh added the 7.x Issues and PRs for version 6.x label Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.x Issues and PRs for version 6.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants