Could not find a declaration file for module '@turf/mask'
alamenai opened this issue · comments
Ala Eddine Menai commented
James Beard commented
Hi @alamenai Try the alpha version - 7.0.0-alpha.114 - which should have better typescript support. Let us know if this helps.
Vladan Kudláč commented
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/
.
Ala Eddine Menai commented
Yes, the alpha version worked as expected.