Code formatting Visual Studio Code - Line Length
Open Extensions on the menu on the left or File menu.
Then click on the extension settings button.
Change the line length for the extension you are working with.
This is not TypeScript or VSCode doing this.
You have the prettier extension installed. Prettier will always do this, as prettier knows better