Turf: Typescript definition is missing with `boolean-within`

Created on 22 Aug 2018  路  4Comments  路  Source: Turfjs/turf

Hi,
I'm using node v10.6.0 and npm 6.4.0.

I'm adding boolean-within with $ npm i --save @turf/boolean-within
and the definition file index.d.ts is not downloaded, while in other module it is.

Step to reproduce:

$ mkdir /tmp/test
$ cd /tmp/test
$ npm i @turf/boolean-within
$ ls node_modules/@turf/boolean-within
# see that index.d.ts is missing, try another package installed as dep
$ ls node_modules/@turf/boolean-point-in-polygon
# see index.d.ts correctly
typescript

Most helpful comment

also with @turf/distance @turf/area at version v6.0.1

All 4 comments

also with @turf/distance @turf/area at version v6.0.1

Yeah seems to be a common problem in how ts definitions are exported

any updates on this?

same issue with @turf/boolean-equal

Was this page helpful?
0 / 5 - 0 ratings