Skip to content

Could not find a declaration file for module '@turf..." #2553

@wjlee2020

Description

@wjlee2020

Please provide the following when reporting an issue:

  • The version of Turf you are using, and any other relevant versions.
    "@turf/helpers": "^6.5.0",
    "@turf/simplify": "^6.5.0"

  • Snippet of source code or for complex examples use jsfiddle.

import simplify from "@turf/simplify";
const turf = require("@turf/helpers");

when using an import statement, i get Could not find a declaration file for module '@turf/simplify'. ts error.
It's the same with all other modules even @turf/turf.

Any ideas/tips?

Metadata

Metadata

Assignees

Labels

bundlingAnything related to issues with bundling

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions