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

Types: Could not find a declaration file for module 'poly-decomp' #72

Closed
ong-appxplore opened this issue Mar 25, 2024 · 3 comments
Closed

Comments

@ong-appxplore
Copy link

Hi, I am currently using this module in my project. It is fine when running the project in development with ts-node but when I try to build it with the command tsc, I am getting a number of errors on failing to find the declaration file for poly-decomp

image

I have further check the lib poly-decomp and usage of Polygon, and Point are no longer there after version 0.1.1.
I am not entirely sure if this a problem on my ts config or this lib. Can you please advise?

Prozi pushed a commit that referenced this issue Mar 25, 2024
@Prozi
Copy link
Owner

Prozi commented Mar 25, 2024

@ong-appxplore please test your project with detect-collisions@^9.5.0 I switched to poly-decomp-es and fixed export hopefuly this helps

@ong-appxplore
Copy link
Author

@Prozi I just tried it and it can build fine now. Thank you so much!

@Prozi
Copy link
Owner

Prozi commented Mar 26, 2024

@ong-appxplore I'm happy to hear that!

thanks for using this library, creating a bug ticket and closing it!

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

No branches or pull requests

2 participants