Files
Donny/강동윤GitHubclaude[bot] <41898282+claude[bot]@users.noreply.github.com>Donny/강동윤
6468b5d04b fix(es/parser): Reject ambiguous generic arrow functions in TSX mode (#11491)
## Summary

In TSX mode, `<T>() => {}` is ambiguous with JSX syntax and should be
rejected. TypeScript requires disambiguation using either:
- A trailing comma: `<T,>() => {}`
- A constraint: `<T extends unknown>() => {}`
- Multiple type parameters: `<T, U>() => {}`

Closes #10598

## Test plan

- [x] Added unit tests for valid and invalid TSX syntax
- [x] Updated existing fixture tests to use valid TSX syntax
- [x] All parser tests passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Donny/강동윤 <[email protected]>
2026-01-23 10:48:58 +07:00
..