Could not find module declaration file '@lite-embed/react'

Open
#84 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start by inspecting the package.json exports configuration and the declaration mentioned at dist/index.d.ts, then reproduce the TypeScript TS7016 error with @lite-embed/react. Done means the package declaration resolves correctly when package.json exports are respected.

Written by the indexing model from the issue text.

Description

Hello, please help me solve this problem, what's the matter?

Could not find module declaration file '@lite-embed/react'. "/Users/ah/Desktop/Projects/node_modules/@lite-embed/react/dist/index.es.js" has an implicit type of "any".
  There are types at '/Users/ah/Desktop/Projects/node_modules/@lite-embed/react/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@lite-embed/react' library may need to update its package.json or typings.ts(7016)
Dominant language
TypeScript
Stars
39
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from danestves/lite-embed

All issues in danestves/lite-embed

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.