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

Could not find a declaration file for module '@turf/mask' #2592

Closed
alamenai opened this issue Mar 29, 2024 · 3 comments
Closed

Could not find a declaration file for module '@turf/mask' #2592

alamenai opened this issue Mar 29, 2024 · 3 comments

Comments

@alamenai
Copy link

Version :

image

I installed the mask package using this command:

npm install @turf/mask

However, I could not find the package for the Typescript types:

image

@smallsaucepan
Copy link
Member

Hi @alamenai Try the alpha version - 7.0.0-alpha.114 - which should have better typescript support. Let us know if this helps.

@kudlav
Copy link
Contributor

kudlav commented Apr 4, 2024

It's because e.g. @turf/bbox has the d.ts file in bbox/dist/js/ subfolder, but the @turf/mask has it in the root folder mask/.

@alamenai alamenai closed this as completed Apr 9, 2024
@alamenai
Copy link
Author

alamenai commented Apr 9, 2024

Yes, the alpha version worked as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants