Skip to content

Exporting the types in package.json #2157

Closed Answered by abdhalees
Lemour-sudo asked this question in Q&A
Discussion options

You must be logged in to vote

types exports is needed when .d.ts file is in a different location than the exported js file, in our source code all type files are in the same location as the js files therefore this shouldn't be needed.

Did you find any import where this caused you issues?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by just-boris
Comment options

You must be logged in to vote
1 reply
@just-boris
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants