GDScript has static type hints now, it's still a bit basic but continually getting better.

Yeah people groan about GDScript but the performance code in the engine is written in c++. Since they added static typing, GDScript is perfectly adequate as a scripting language