code: def setup(app: Sphinx) -> dict[str, Any]:
      app.add_domain(JavaScriptDomain)
      app.add_config_value(
          "javascript_maximum_signature_line_length",
          None,
          "env",
          {int, type(None)},
      )
      return {
          "version": "builtin",
          "env_version": 3,
          "parallel_read_safe": True,
          "parallel_write_safe": True,
      }
  
imports: from __future__ import annotations
  import contextlib
  from typing import TYPE_CHECKING, Any, cast
  from docutils import nodes
  from docutils.parsers.rst import directives
  from sphinx import addnodes
  from sphinx.directives import ObjectDescription
  from sphinx.domains import Domain, ObjType
  from sphinx.domains.python import _pseudo_parse_arglist
  from sphinx.locale import _, __
  from sphinx.roles import XRefRole
  from sphinx.util import logging
  from sphinx.util.docfields import Field, GroupedField, TypedField
  from sphinx.util.docutils import SphinxDirective
  from sphinx.util.nodes import make_id, make_refnode, nested_parse_with_titles
label_desc: Use image node_id 1 for calling a global function with example usage: setup(app) and returns: dict