Microsoft/TypeScript

Symbol.species should in constructor, not instance

Aperta

#50.168 aperta il 3 ago 2022

 (0 commenti) (1 reazione) (0 assegnatari)TypeScript (13.395 fork)batch import
BugDomain: lib.d.tsHelp Wanted

Metriche repository

Star
 (108.860 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Bug Report

🔎 Search Terms

🕗 Version & Regression Information

  • This is a crash
  • This changed between versions ______ and _______
  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
  • I was unable to test this on prior versions because _______

⏯ Playground Link

💻 Code

https://github.com/microsoft/TypeScript/blob/a3a5e009a5a7c95fbc0a08dff6d8947cceff7807/src/lib/es2017.sharedmemory.d.ts#L14

🙁 Actual behavior

🙂 Expected behavior

Guida contributor