Skip to content

Commit 1f740a7

Browse files
mrkmndzsrittau
authored andcommitted
Adding stubs for pyre_extensions (#3056)
1 parent 8ffe20f commit 1f740a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

third_party/2and3/pyre_extensions.pyi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from typing import List, Optional, Type, TypeVar
2+
3+
_T = TypeVar("_T")
4+
5+
def none_throws(optional: Optional[_T]) -> _T: ...
6+
def ParameterSpecification(__name: str) -> List[Type]: ...

0 commit comments

Comments
 (0)