Closed Viicos closed 2 months ago
Really minor issue:
Code sample in pyright playground
from typing import Unpack, TypedDict class Empty(TypedDict, total=False): pass def func(**kwargs: Unpack[Empty]): pass func()
Produces:
maybe () -> None could be more appropriate.
() -> None
Thanks for the bug report. This will be addressed in the next release of pyright.
This is addressed in pyright 1.1.376.
Really minor issue:
Code sample in pyright playground
Produces:
maybe
() -> None
could be more appropriate.