thefrontside / thefrontside/interactors

interactors typings don't seem to work with typescript-language-server

Open
#266 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
36
Forks
2
Avg merge
4m
Merged PRs (30d)
2

Description

The typings don't seem to be resolved when using pnpm

typescript [7016]: Could not find a declaration file for module '@interactors/html'. 'node_modules/.pnpm/@interactors+html@1.0.0-rc1.6/node_modules/@interactors/html/dist/esm/index.js' implicitly has an 'any' type.

  There are types at 'node_modules/@interactors/html/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@interactors/html' library may need to update its package.json or typings.

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

Reproduce the TypeScript 7016 error with pnpm and typescript-language-server, then inspect the @interactors/html package.json exports and the referenced declaration path. Done means the package's declarations resolve for imports from @interactors/html without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
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.