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

Typescript can't find declaration folder because the name is wrong #739

Open
tidurand opened this issue Jun 28, 2024 · 5 comments
Open

Typescript can't find declaration folder because the name is wrong #739

tidurand opened this issue Jun 28, 2024 · 5 comments
Assignees
Labels
@barba/core @barba/core plugin bug bug to fix

Comments

@tidurand
Copy link

What version are you using?

2.10.0

What package are you using?

@barba/core

Describe your issue

There is this issue "Could not find a declaration file for module '@barba/core'." with typescript

Because in package.json there is : "types": "dist/core/src/typings"
But currently the correct folder is : "types": "dist/core/src/src"

@xavierfoucrier
Copy link
Member

Hello @tidurand 👋

Thanks for getting in touch!
Looks like more an issue when publishing to NPM as well, this will be fixed in the next release.

Keep this issue open as a reminder 😉

@CptCompiler
Copy link

Hi @xavierfoucrier,
seems that this has not yet been fixed in the current 2.10.2 version. 😟
Any updates on this issue?
Thank you!

@xavierfoucrier
Copy link
Member

@CptCompiler 👋 yup, I know, probably due to microbundle or lerna as well. Need to investigate.

@xavierfoucrier xavierfoucrier self-assigned this Aug 8, 2024
@joshua-isaac
Copy link

any update on when this will get resolved?

@xavierfoucrier
Copy link
Member

Hello, not critical currently, should be fixed soon, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@barba/core @barba/core plugin bug bug to fix
Projects
None yet
Development

No branches or pull requests

4 participants