Adding stubs for pyre_extensions (#3056)

This commit is contained in:
Mark Mendoza
2019-06-13 14:14:54 -07:00
committed by Sebastian Rittau
parent 8ffe20fc22
commit 1f740a7926

6
third_party/2and3/pyre_extensions.pyi vendored Normal file
View 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]: ...