pytmx
pytmx copied to clipboard
fix typehints
PR reduces the number of typehints 289>149
While fixing, by following a chain of typehints, I arrived to the source here:
class TiledMap(TiledElement):
def __init__(
self,
filename: Optional[str] = None, <---------- here
is it correct an Optional?