diff --git a/django-stubs/views/decorators/http.pyi b/django-stubs/views/decorators/http.pyi index 1edc5f7..6a672ec 100644 --- a/django-stubs/views/decorators/http.pyi +++ b/django-stubs/views/decorators/http.pyi @@ -3,7 +3,7 @@ from typing import Any, Callable, List, Optional, TypeVar _F = TypeVar("_F", bound=Callable[..., Any]) def conditional_page(_F) -> _F: ... -def require_http_methods(request_method_list: List[str]) -> Callable: ... +def require_http_methods(request_method_list: List[str]) -> Callable[[_F], _F]: ... def require_GET(_F) -> _F: ... def require_POST(_F) -> _F: ... def require_safe(_F) -> _F: ...