GDScript - Can dictionaries be typified?

Godot Version 4.3 Beta 1


I made a static function to load resources and return a dictionary from the function.

I would like to specify that the key of the dictionary is


and the value of the key is

Cell (A class I have written)

Is this possible?

It’s a longstanding issue, though a promising pull request for 4.4 is in the works.

1 Like