what? - feddit.nl

Easy to learn, hard to master, used for things it wasn’t created for.

Yep.

You don’t master Javascript, ever. You just become accustomed to the madness and stop caring, while sometimes doing things right.
Typescript helps a bit but not much
Is there a typescript analogue for python? Preferably that adds curly braces?

Type Annotations and other typing-related stuff ist build into the language/standard library.

To get a real benefit you should use a static type checker like mypy.

mypy 1.13.0 documentation