developit / developit/microbundle

Possible issue with missing type declaration files for ESM exports

オープン
#1,085 コメント 15 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
8.1k
フォーク
358
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, this is possibly user error, but a recent routine release of my lib [react-flip-toolkit](https://github.com/aholachek/react-flip-toolkit) broke type declarations-- a user filed an [issue here](https://github.com/aholachek/react-flip-toolkit/issues/224) and when I view the analysis [on this page](https://arethetypeswrong.github.io/?p=react-flip-toolkit%407.2.0) I see that types are not found.

After digging around for a bit, it seems possible based on my reading of [this explanation](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/UntypedResolution.md) that we need to package an `index.d.mts` alongside the `index.d.ts` automatically generated by microbundle.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。