You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@overloaddeffoo(a: int) ->int: ...
@overloaddeffoo(a: str) ->str: ...
deffoo(a): ... # inferred as (a: int | str) -> int | str
I think I might develop RSI if I have to implement too many more overload signatures, making the type annotations optional on the implementation might ease my wrist pain a little.
The text was updated successfully, but these errors were encountered:
Feature
I want to be able to do this:
I think I might develop RSI if I have to implement too many more overload signatures, making the type annotations optional on the implementation might ease my wrist pain a little.
The text was updated successfully, but these errors were encountered: