Skip to content

Wrong Position import, build issues #93

Closed
@zxwild

Description

@zxwild

Hi, I'm unable to build my project, there is the typescript error:

error during build:
[vite:dts] Internal Error: Unable to follow symbol for "Position"

I found it's followed by these lines in geojson-path-finder (there are 3 places):
import { Position } from "@turf/helpers";

And it looks reasonable, turf/helpers doesn't export the Position type.

Could you the imports this way?

from:
import { Position } from "@turf/helpers";
to:
import { Position } from 'geojson';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions