Skip to content

Multiple#1

Open
mickeypuri wants to merge 4 commits into
monsterlessonsacademy:masterfrom
mickeypuri:multiple
Open

Multiple#1
mickeypuri wants to merge 4 commits into
monsterlessonsacademy:masterfrom
mickeypuri:multiple

Conversation

@mickeypuri

@mickeypuri mickeypuri commented Oct 22, 2022

Copy link
Copy Markdown

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

EJIqpEP commented Oct 22, 2022

Copy link
Copy Markdown

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