diff --git a/rest_framework-stubs/views.pyi b/rest_framework-stubs/views.pyi index 5c9d8e50e..617aea7ac 100644 --- a/rest_framework-stubs/views.pyi +++ b/rest_framework-stubs/views.pyi @@ -89,4 +89,4 @@ class APIView(View): def handle_exception(self, exc: Exception) -> Response: ... def raise_uncaught_exception(self, exc: Exception) -> NoReturn: ... def dispatch(self, request: HttpRequest, *args: Any, **kwargs: Any) -> HttpResponseBase: ... - def options(self, request: Request, *args: Any, **kwargs: Any) -> HttpResponseBase: ... # type: ignore[override] + def options(self, request: Request, *args: Any, **kwargs: Any) -> Response: ... # type: ignore[override]