Damus
Yuri :godot: profile picture
Yuri :godot:
@Yuri :godot:
Signal declaration in GDScript is just a suggestion.

You can emit any signal with any parameters, and as long as connected methods expect the same exact parameters, it will never err. Oh, and awaiting that signal works in every situation.

There is basically no type safety when it comes to signals.

1
Yuri :godot: · 4d
Worth mentioning that Signal is a "type" in GDScript very superficially. It is not backed by a native type in Godot. It's just an interface for some hashmaps. Engine uses strings and Object methods everywhere, just like GDScript in Godot 3.x did.