Copy outline improvements from typescript over to tsx as well (#41862)

Closes #4483 

Release Notes:

- Interprets outline of tsx files with the same grammar as typescript,
including improvements from #39797
5ed458497eKyleBarton committed on 11/3/2025, 10:38:05 PM· committed by GitHubparent9ecf257
2 files changedLine totals unavailable