Skip to content

tsc 4.5 hangs with unist-util-visit package (works fine with 4.4.4) #46900

Closed
@stefanprobst

Description

@stefanprobst

Bug Report

the following example makes tsc hang indefinitely with version 4.5, but compiles fine with 4.4.4:

example: https://github.com/stefanprobst/issue-tsc

also see the discussion here: unifiedjs/unified#175

🔎 Search Terms

hangs

🕗 Version & Regression Information

  • This is a crash: tsc hangs, but does not give an error message
  • This changed between versions 4.4.4 and 4.5.2 (same behavior also in current @next version)

⏯ Playground Link

link to a reproduction repo above

💻 Code

🙁 Actual behavior

tsc hangs indefinitely without error message

🙂 Expected behavior

tsc finishing compilation, or giving indication what's wrong

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFix AvailableA PR has been opened for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions