summaryrefslogtreecommitdiff
path: root/sphinx/domains/javascript.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-01-03 22:48:51 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-01-03 22:50:38 +0900
commitbad2444ed516f1a4454b6b735905cfc5f04abae9 (patch)
treec97d245bb7489da3a804a4c4fc52fe15bec07a38 /sphinx/domains/javascript.py
parent1b7d16505ea6e77586c6c4f4afc15a3e73116d80 (diff)
downloadsphinx-git-bad2444ed516f1a4454b6b735905cfc5f04abae9.tar.gz
refactor: Update typehints for ObjectDescription using Generic
Diffstat (limited to 'sphinx/domains/javascript.py')
-rw-r--r--sphinx/domains/javascript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py
index a4b2eca2e..f612fb914 100644
--- a/sphinx/domains/javascript.py
+++ b/sphinx/domains/javascript.py
@@ -32,7 +32,7 @@ from sphinx.util.nodes import make_id, make_refnode
logger = logging.getLogger(__name__)
-class JSObject(ObjectDescription):
+class JSObject(ObjectDescription[Tuple[str, str]]):
"""
Description of a JavaScript object.
"""