Skip to content

Commit 61b7ca8

Browse files
authored
commit
1 parent 098f30e commit 61b7ca8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

stubs/click-web/click_web/web_click_types.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ import click
55

66
_T = TypeVar("_T")
77

8-
class EmailParamType(click.ParamType):
8+
class EmailParamType(click.ParamType[str]):
99
EMAIL_REGEX: ClassVar[re.Pattern[str]]
1010
def convert(self, value: str, param: click.Parameter | None, ctx: click.Context | None) -> str: ...
1111

12-
class PasswordParamType(click.ParamType):
12+
class PasswordParamType(click.ParamType[_T]):
1313
def convert(self, value: _T, param: click.Parameter | None, ctx: click.Context | None) -> _T: ...
1414

15-
class TextAreaParamType(click.ParamType):
15+
class TextAreaParamType(click.ParamType[_T]):
1616
def convert(self, value: _T, param: click.Parameter | None, ctx: click.Context | None) -> _T: ...
1717

1818
EMAIL_TYPE: EmailParamType

0 commit comments

Comments
 (0)