Microsoft/TypeScript

Symbol.species should in constructor, not instance

Open

#50,168 opened on Aug 3, 2022

View on GitHub
 (0 comments) (1 reaction) (0 assignees)TypeScript (6,726 forks)batch import
BugDomain: lib.d.tsHelp Wanted

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (Avg merge 6d 17h) (9 merged PRs in 30d)

Description

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

Contributor guide