Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typings resolution when using TypeScript 4.7+ with ESM #42

Merged
merged 1 commit into from Jun 8, 2022

Conversation

Nitive
Copy link
Contributor

@Nitive Nitive commented Jun 7, 2022

TypeScript in ESM mode is trying to use file index.d.mts for types but there is no such file. So we need to provide custom path to typings file

For reference: same issue in another package telegraf/telegraf#1629 (comment)

@dy dy merged commit 059928d into jkroso:master Jun 8, 2022
@Nitive Nitive deleted the patch-1 branch June 9, 2022 06:43
@sheldonkwok
Copy link

Does someone have access to publish the module so that this change makes it in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants