Skip to content

Commit 7a5eb7c

Browse files
authored
feat: Add support for decorator from typing_extensions package
PR-3: #3
1 parent f21923b commit 7a5eb7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/griffe_warnings_deprecated/extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
self_namespace = "griffe_warnings_deprecated"
1111
mkdocstrings_namespace = "mkdocstrings"
1212

13-
_decorators = {"warnings.deprecated"}
13+
_decorators = {"warnings.deprecated", "typing_extensions.deprecated"}
1414

1515

1616
def _deprecated(obj: Class | Function) -> str | None:

0 commit comments

Comments
 (0)