Skip to content

Commit

Permalink
Adding stubs for pyre_extensions (#3056)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkmndz authored and srittau committed Jun 13, 2019
1 parent 8ffe20f commit 1f740a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions third_party/2and3/pyre_extensions.pyi
@@ -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]: ...

0 comments on commit 1f740a7

Please sign in to comment.