mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-18 01:45:59 +08:00
Implement stubs for views.decorators.common.no_append_slash (#743)
This commit is contained in:
5
django-stubs/views/decorators/common.pyi
Normal file
5
django-stubs/views/decorators/common.pyi
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
from typing import Any, Callable, TypeVar
|
||||||
|
|
||||||
|
_C = TypeVar("_C", bound=Callable[..., Any])
|
||||||
|
|
||||||
|
def no_append_slash(view_func: _C) -> _C: ...
|
||||||
Reference in New Issue
Block a user