basedmypy
basedmypy copied to clipboard
Secretly support `TypeForm`s when used with `type`
def f(f: type[T]) -> T: ...
reveal_type( # int | str
f(int | str) # error: This is a `TypeForm` not a type
)