Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TS node16, nodenext and bundler module resolutions #2400

Merged
merged 4 commits into from
Mar 7, 2023

Conversation

evgenyt1
Copy link
Contributor

@evgenyt1 evgenyt1 commented Feb 20, 2023

Currently @turf/turf doesn't support modern node16, nodenext and bundler module resolution strategies of TypeScript.
When "exports" is defined in package.json, a custom condition types should be added there as well.

More on moduleResolution

Also info on TypeScript's package.json Exports, Imports, and Self-Referencing

Support TypeScript node16, nodenext and bundler module resolutions.
@JamesLMilner
Copy link
Collaborator

JamesLMilner commented Feb 26, 2023

Aims to resolve #2307

@evgenyt1 evgenyt1 changed the title Support TS node16, nodenext and bundler module resoutions Support TS node16, nodenext and bundler module resolutions Mar 3, 2023
@JamesLMilner JamesLMilner merged commit 625b420 into Turfjs:master Mar 7, 2023
@JamesLMilner
Copy link
Collaborator

Thanks @evgenyt1 ! 👍🏻

@markcarroll
Copy link

@JamesLMilner any idea when this will be released?

@kevinschaich
Copy link

@markcarroll & others - npm i @turf/[email protected] did the trick for me and fixes all my type issues

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants