For most web-based things, frontend and backend, Typescript is where the zeitgeist is these days. Better types, web native, more performant, better async support, better library ecosystem, new cutting edge tech projects, etc. Python's forte and niche is in ML and scientific computing. For quick scripts, either are fine.
As an alternative for web apps, yes. In other domains, not really, but it’ll work, it just doesn’t solve any problem better except it isn’t Python.
You might look at Deno[0] which provides that scripting language experience, similar to python.