Skip to content

tsc crash with jsdoc typedef and object exported with same name. #56891

@HOnatToprak

Description

@HOnatToprak

🔎 Search Terms

allowJs jsdoc

🕗 Version & Regression Information

  • This is a crash

⏯ Playground Link

https://github.com/HOnatToprak/tsbug

💻 Code

No response

🙁 Actual behavior

tsc crashes when I declare object and jsdoc typedef with same name, export the object and import the object from another file with commonjs syntax.

🙂 Expected behavior

Expected tsc to compile

Additional information about the issue

No response

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: CrashesUnhandled exceptions/panics with no immediate primary root cause identified

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions