Skip to content

Commit 24325ff

Browse files
authored
ci: Fix type of the fallback callable
1 parent e7f2228 commit 24325ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/mkdocs_autorefs/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __init__(self) -> None:
5757
super().__init__()
5858
self._url_map: dict[str, str] = {}
5959
self._abs_url_map: dict[str, str] = {}
60-
self.get_fallback_anchor: Callable[[str], str | None] | None = None
60+
self.get_fallback_anchor: Callable[[str], tuple[str, ...]] | None = None
6161

6262
def register_anchor(self, page: str, identifier: str) -> None:
6363
"""Register that an anchor corresponding to an identifier was encountered when rendering the page.

0 commit comments

Comments
 (0)