Skip to content

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

Open
@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 TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions