You must log in or register to comment.
- astrsk ( @astrsk@kbin.run ) 6•2 months ago
This is a good tip. While it’s nice it’s automatic for templates it would be nice if I could enable a warning or even build error if I miss a type hint. I’ve started using them everywhere because it helps me when I’m going back through old code or code that hasn’t changed in a while. Especially helpful for debugging. As a recent typescript convert, I much prefer gdscript with type hints.
- Gamma ( @GammaGames@beehaw.org ) English2•2 months ago
You actually can make them errors!
- grrgyle ( @grrgyle@slrpnk.net ) 4•2 months ago
Very handy, thank you!
- Binette ( @Binette@lemmy.ml ) 1•2 months ago
I remember it being enabled automatically at some point, but then it was removed. Or maybe I’m remembering it wrong