diff --git a/pyglossary/ui/tools/view_glossary.py b/pyglossary/ui/tools/view_glossary.py index 969e03479..23a703554 100755 --- a/pyglossary/ui/tools/view_glossary.py +++ b/pyglossary/ui/tools/view_glossary.py @@ -12,7 +12,7 @@ if TYPE_CHECKING: from collections.abc import Callable - from pyglossary.glossary_types import EntryType, GlossaryExtendedType + from pyglossary.glossary_types import EntryType from pyglossary.core import log from pyglossary.glossary_v2 import Glossary @@ -59,7 +59,7 @@ def highlightEntry(entry: EntryType) -> None: def viewGlossary( filename: str, formatName: str | None = None, - glos: GlossaryExtendedType | None = None, + glos: Glossary | None = None, noRes: bool = False, ) -> None: highlightEntry = getEntryHighlighter()