Microsoft/TypeScript

Symbol.species should in constructor, not instance

開放

#50,168 建立於 2022年8月3日

 (0 則留言) (1 個反應) (0 位負責人)TypeScript (13,395 個分叉)batch import
BugDomain: lib.d.tsHelp Wanted

倉庫指標

星標
 (108,860 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南