microsoft / microsoft/TypeScript

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

Aperta
#56,891 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@sandersn ci sta già lavorando.

Dal 3/1/2024.

Bug Domain: Crashes
Lingua principale
Go
Stelle
111k
Fork
14.3k
Merge medio
1g 19h
PR unite (30g)
117

Descrizione

🔎 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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.