Quart currently supports only `str | None` for the template folder argument of the app, while Flask also supports `os.PathLike[str]`. https://github.com/pallets/quart/blob/b5593ca4c8c657564cdf2d35c9f0298fce63636b/src/quart/app.py#L287 [flask/src/flask/app.py](https://github.com/pallets/flask/blob/f61172b8dd3f962d33f25c50b2f5405e90ceffa5/src/flask/app.py#L234) ```python template_folder: str | os.PathLike[str] | None = "templates", ``` As Quart seems to pass the argument directly to Flask.App, I do not think the further restriction is necessary.