microsoft / microsoft/TypeScript
tsc crash with jsdoc typedef and object exported with same name.
Open
@sandersn is already working on this.
Since Jan 3, 2024.
Bug
Domain: Crashes
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 117
Description
🔎 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.