Skip to content

Instantly share code, notes, and snippets.

@decorator-factory
Created December 7, 2021 00:20
Show Gist options
  • Save decorator-factory/b00b00716dbc9b2115693a1ac8c7db54 to your computer and use it in GitHub Desktop.
Save decorator-factory/b00b00716dbc9b2115693a1ac8c7db54 to your computer and use it in GitHub Desktop.
Pyright example gist
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