game: clean: type hint
This commit is contained in:
parent
e8cc05fb3c
commit
9aa885c49d
@ -23,7 +23,7 @@ class Point:
|
||||
|
||||
return Point(self.x, self.y)
|
||||
|
||||
def to_dict(self):
|
||||
def to_dict(self) -> dict:
|
||||
|
||||
data: dict[str: float] = {
|
||||
"x": self.x,
|
||||
|
Loading…
Reference in New Issue
Block a user