Created
December 7, 2021 00:20
-
-
Save decorator-factory/b00b00716dbc9b2115693a1ac8c7db54 to your computer and use it in GitHub Desktop.
Pyright example gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import TypeVar | |
T = TypeVar("T") | |
def f(t: T, x: int) -> str: | |
return x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment