pytmx icon indicating copy to clipboard operation
pytmx copied to clipboard

fix typehints

Open JaskRendix opened this issue 2 years ago • 0 comments

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?

JaskRendix avatar Jan 18 '24 08:01 JaskRendix