Then you'd have to use Svelte which I dislike over React, not the least of which is templating. After having used Vue and Angular before switching to React, you couldn't pay me to go back to logic in an HTML DSL. I can't look at v-for or ngIf again.
As someone who dislikes Vue and Angular but loves Solid and Svelte, I understand your reservations but I have to ask- have you ever built something non-trivial with Svelte? The list of DX improvements using TS in a framework like Svelte that gets out of your way without a labyrinth of gotchas and framework specific footguns and api patterns born through a decade of tech debt is nothing to scoff at.
This year I ported a quite complex web app I had in React and TypeScript, into Vue, Angular, Solid, and Svelte, just to see if I were missing anything given the new changes in the frontend ecosystem. I did not find that TypeScript helped more in Svelte than in React, particularly.