Issues with type hints for any method that involves positions
FredNoonienSingh opened this issue · 0 comments
FredNoonienSingh commented
According to Typechecks objects of the class Pointlike can't be used as positions, while in realty it is possible and encouraged by the documentation.
for example:
.towards() returns a pointlike - BotAi.build() expects either a Point2 or a Unit for "near".