Fix TypeScript block indenting when using allman style (#25051)

Closes #24976 

Release Notes:

- Fixed an issue where writing TypeScript using Allman style would
result in incorrect auto-indent behavior
12aa270b9aBen Kunkle committed on 2/18/2025, 1:15:10 AM· committed by GitHubparent888dc0b
1 file changedLine totals unavailable