Yea, it would be nice that if you declare the type in the function like you have. Then it would create a autocomplete in the editor when the function is used.
This called (essentially) “named parameters” or “named arguments”.
It looks as though implementing this is not going to happen. This proposal talks about it.
The dictionary idea is one workaround and another I saw posted was:
Though the link you gave, I have discovered that what I’m imagining are called “inline parameter annotations”, “inline decorations”, “inlay hints” or “inline hints”. They’re added by the editor and are non-editable.
I’ve created a discussion with an example from VSCode and a mockup of what it would look like in the Godot editor.
Godot should implement it to attract more people. If you are a truly engineer you would need that. Using dict for arguments is sick for complex project.