Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Possible issue with missing type declaration files for ESM exports

Open
#1,085 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
build-system

Research direction

Start by reproducing the missing-type result for react-flip-toolkit 7.2.0 with the arethetypeswrong analysis and read the linked UntypedResolution explanation. Inspect how microbundle generates index.d.ts for ESM exports; done means the published package provides declarations that the analysis resolves correctly for that export path.

Written by the indexing model from the issue text.

Description

Hi, this is possibly user error, but a recent routine release of my lib react-flip-toolkit broke type declarations-- a user filed an issue here and when I view the analysis on this page I see that types are not found.

After digging around for a bit, it seems possible based on my reading of this explanation that we need to package an index.d.mts alongside the index.d.ts automatically generated by microbundle.

Dominant language
JavaScript
Stars
8.1k
Forks
358
PR merge metrics
No merged PRs in 30d

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.

More from developit/microbundle

All issues in developit/microbundle

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.