Using:
import * as circle from '@turf/circle';
Could not find declaration file for module '@turf/circle'. node_modules/@turf/circle/index.js implicitly has 'any' type.
Using:
import { circle } from '@turf/turf'; // OK
It looks like no index.d.ts file is setup here: https://github.com/Turfjs/turf/tree/master/packages/turf-circle Is that needed?
I found the problem: the index.ts file should actually be named index.d.ts
Submitting a PR now.
Most helpful comment
I found the problem: the
index.tsfile should actually be namedindex.d.tsSubmitting a PR now.