Skip to content

Conversation

@mickeypuri
Copy link

@mickeypuri mickeypuri commented Oct 22, 2022

Hi, so I decided to fork your repository and now do a PR, that will allow you to see the code. It is as per the original, except I added types file in each folder. If you clone the branch, you will see on running tsc, the index.d.ts file created is exactly the same as the index.js file. So the types are not being exported.

@EJIqpEP
Copy link

EJIqpEP commented Oct 22, 2022

It is correct that they look the same. To check if you can import in your project types later try to publish/link it in your project. You will get access to data types.

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.

2 participants