mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Adding stubs for pyre_extensions (#3056)
This commit is contained in:
committed by
Sebastian Rittau
parent
8ffe20fc22
commit
1f740a7926
6
third_party/2and3/pyre_extensions.pyi
vendored
Normal file
6
third_party/2and3/pyre_extensions.pyi
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
from typing import List, Optional, Type, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
def none_throws(optional: Optional[_T]) -> _T: ...
|
||||
def ParameterSpecification(__name: str) -> List[Type]: ...
|
||||
Reference in New Issue
Block a user