react-component / react-component/slider

Error importing RCTooltip

Open
#651 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.1k
Forks
768
Avg merge
11d 22h
Merged PRs (30d)
5

Description

I cannot build project because of import error in missing exported member of rc-tooltip.

Error as below:

ERROR in [at-loader] ./node_modules/@types/rc-slider/index.d.ts:16:10 
    TS2614: Module '"../../rc-tooltip/lib"' has no exported member 'RCTooltip'. Did you mean to use 'import RCTooltip from "../../rc-tooltip/lib"' instead?

For dependencies:

=> Found "rc-tooltip@4.0.3"
=> Found "rc-slider@9.2.4"

Contributor guide

No contributing guide indexed for this repository

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 with node_modules/@types/rc-slider/index.d.ts and the rc-tooltip@4.0.3 and rc-slider@9.2.4 dependency versions shown in the report. Compare the referenced RCTooltip export with the installed package, then verify that the project builds without the TypeScript import error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.