I hate C++. It’s possibly my least favorite language. Slow compilation, awful mess of ideas scattered around, syntax soup, footguns galore. Typescript has become one of my favorite languages. It’s not perfect, but it’s surprisingly good and pragmatic. JS, on the other hand? No thanks. Static typing is something I never want to do without again.
Typescript exist because people want a type-checked language.