Skip to content

Commit

Permalink
Update src/click/core.py
Browse files Browse the repository at this point in the history
Co-authored-by: Denis Laxalde <denis@laxalde.org>
  • Loading branch information
henryiii and dlax committed Mar 30, 2022
1 parent 3525135 commit e704701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/click/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,7 @@ def add_command(self, cmd: Command, name: t.Optional[str] = None) -> None:
self.commands[name] = cmd

@t.overload
def command(self, __func: Command) -> Command:
def command(self, __func: t.Callable[..., t.Any]) -> Command:
...

@t.overload
Expand Down

0 comments on commit e704701

Please sign in to comment.