question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module '"@turf/helpers"' has no exported member

See original GitHub issue

using

import booleanPointInPolygon from '@turf/boolean-point-in-polygon' with typescript I get

node_modules/@turf/boolean-point-in-polygon/index.d.ts:1:10 - error TS2305: Module '"@turf/helpers"' has no exported member 'Coord'.

import { Coord, Feature, MultiPolygon, Polygon, Properties } from "@turf/helpers";

using versions “@turf/boolean-point-in-polygon”: “^6.0.1”, “@turf/helpers”: “^6.1.4”,

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
sgarwoodcommented, Aug 13, 2019

Try removing @types/turf

0reactions
mfedderlycommented, Aug 3, 2021

This should be fixed, please use @turf/* at 6.2.0 or higher.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve the "module has no exported member" error?
Remove the line below from your statement export module Demo. and use it like export class ViewModel { constructor(public test: string) { }...
Read more >
@turf/helpers | Yarn - Package Manager
Most Turf functions work with GeoJSON features. These are pieces of data that represent a collection of properties (ie: population, elevation, zipcode, etc.) ......
Read more >
TypeScript - Solve the module has no exported member error
In this tutorial, we are going to learn about how to solve the module that has no exported member error in TypeScript.
Read more >
@turf/helpers - npm
Start using @turf/helpers in your project by running `npm i ... TypeScript icon, indicating that this package has built-in type declarations.
Read more >
Module Has No Exported Member? : r/typescript - Reddit
Module Has No Exported Member ? I am getting the following error when trying to import a type from the ` ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found