Turfjs / turf

A modular geospatial engine written in JavaScript and TypeScript

Home Page:https://turfjs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

alamenai opened this issue · comments

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

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

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/.

Yes, the alpha version worked as expected.