mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 12:32:08 -06:00
After differential debugging, narrowed the fix to only handle the specific problematic case: destructuring where exactly the third element (index 2) is accessed with the pattern `[, , element]`. This prevents performance issues while still fixing the core excess property checking bug identified in #41548. Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>