question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: import { ,ofSubject } from 'rxjs';

See original GitHub issue

Thanks for this awesome plugin.

Ran into this bug… Using version 5.0.0

Input:

import { Subject, of } from 'rxjs';

Output:

import { ,ofSubject } from 'rxjs';

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
lydellcommented, Jan 28, 2020

Upgrade to @typescript-eslint/parser 2.18.0 and your problem should be gone!

1reaction
lydellcommented, Jan 21, 2020

This is due to a bug in @typescript-eslint/parser. PR to fix it here: https://github.com/typescript-eslint/typescript-eslint/pull/1487

Once that’s merged and released, you should be able to update @typescript-eslint/parser to fix the problem, and I’ll add a test for it and close this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: rxjs/Subject"' has no exported member 'Subject' [closed]
It looks you use RxJS v6. In v6, the way you import resources has been made much more easy. Your import should be...
Read more >
Error: rxjs/Subject"' has no exported member 'Subject' #2103
Describe the bug "aws-amplify-angular": "^2.0.13" has a bug in src/providers/auth.decorator.ts import { Subject } from 'rxjs/Subject'; should be
Read more >
Subject - RxJS
What is a Subject? An RxJS Subject is a special type of Observable that allows values to be multicasted to many Observers. While...
Read more >
RxJS - Working with Subjects - Tutorialspoint
To work with subject, we need to import Subject as shown below − import { Subject } from 'rxjs';. You can create a...
Read more >
The RxJS library - Angular
RxJS (Reactive Extensions for JavaScript) is a library for reactive ... import { from, Observable } from 'rxjs'; // Create an Observable out...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found