ReactiveX / ReactiveX/rxjs

Interface SchedulerLike not exported from index file

Open
#7,473 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
31.7k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Interface SchedulerLike is not exported from the index file, but in @deprecated docs for Scheduler it suggested to use that interface instead of Scheduler. Also, if I understood correctly, the docs points that SchdulerLike should be exported from the index file.

Screenshot 2024-05-16 at 10 51 21

That behavior breaks some ESLint rules (such as import/named)

Expected behavior

Interface SchedulerLike should be exported from the index file.

Reproduction code
import { SchedulerLike } from 'rxjs';
Reproduction URL

No response

Version

7.5.6

Environment

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the package index file and the existing Scheduler and SchedulerLike exports. Verify the public import shown in the reproduction, then add the missing export and confirm that import { SchedulerLike } from 'rxjs' works without the reported named-import error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.