microsoft / microsoft/TypeScript
tsc crash with jsdoc typedef and object exported with same name.
Offen
@sandersn arbeitet bereits daran.
Seit 03.1.2024.
Bug
Domain: Crashes
- Vorherrschende Sprache
- Go
- Sterne
- 111k
- Forks
- 14.4k
- Ø Merge
- 1 T. 19 Std.
- Gemergte PRs (30 T.)
- 117
Beschreibung
🔎 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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.