Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Aug 25, 2024
1 parent d46bbc7 commit 4a37f04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions __coconut__/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1865,6 +1865,18 @@ def _coconut_mk_anon_namedtuple(
fields: _t.Tuple[_t.Text, ...],
types: _t.Optional[_t.Tuple[_t.Any, ...]] = None,
) -> _t.Callable[..., _t.Tuple[_t.Any, ...]]: ...
@_t.overload
def _coconut_mk_anon_namedtuple(
fields: _t.Tuple[_t.Text, ...],
types: _t.Optional[_t.Tuple[_t.Any, ...]],
of_args: _T,
) -> _T: ...
@_t.overload
def _coconut_mk_anon_namedtuple(
fields: _t.Tuple[_t.Text, ...],
*,
of_args: _T,
) -> _T: ...


# @_t.overload
Expand Down

0 comments on commit 4a37f04

Please sign in to comment.