mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Reverted all previous changes and conducted thorough analysis of the root cause. Found that the issue is related to contextual typing and generic type inference, not specifically the "last element position" but rather the pattern of first element omitted + last element named. Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>