Skip to content

Error when compiling typescript in ES-only plugins that use 'unist-util-visit' #72

Answered by ChristianMurphy
helmturner asked this question in Q&A
Discussion options

You must be logged in to vote

Not surprising, this seems related to syntax-tree/hastscript#16
The community has been holding off for a bit while TypeScript stabilizes node style ESM resolution, from the last discussion:

I’ll close this for now, as it seems [typescript] reverted [node12 resolution]. PR welcome if they land this again.

From what I'm seeing in the TS docs it looks like node16 support is still considered nightly (pre-beta and unstable)

node16/nodenext (nightly builds)

https://www.typescriptlang.org/tsconfig#node16nodenext-nightly-builds

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@helmturner
Comment options

Answer selected by helmturner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants