diff --git a/typer/params.py b/typer/params.py index a143f3f749..865ada21aa 100644 --- a/typer/params.py +++ b/typer/params.py @@ -8,6 +8,7 @@ import click.shell_completion +# Overload for Option created with custom type 'parser' @overload def Option( # Parameter @@ -71,6 +72,7 @@ def Option( ... +# Overload for Option created with custom type 'click_type' @overload def Option( # Parameter @@ -251,6 +253,7 @@ def Option( ) +# Overload for Argument created with custom type 'parser' @overload def Argument( # Parameter @@ -305,6 +308,7 @@ def Argument( ... +# Overload for Argument created with custom type 'click_type' @overload def Argument( # Parameter