microsoft / microsoft/TypeScript

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

Offen
#56,891 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.