diff --git a/stubs/titlecase/titlecase/__init__.pyi b/stubs/titlecase/titlecase/__init__.pyi index 440dd637180b..cec1ac12af3d 100644 --- a/stubs/titlecase/titlecase/__init__.pyi +++ b/stubs/titlecase/titlecase/__init__.pyi @@ -1,7 +1,6 @@ import logging import re from typing import Final, Protocol, TypeAlias, overload, type_check_only -from typing_extensions import LiteralString import regex @@ -44,6 +43,6 @@ def set_small_word_list(small: str) -> None: ... def titlecase( text: str, callback: _CallbackProtocol | None = None, small_first_last: bool = True, preserve_blank_lines: bool = False -) -> LiteralString: ... +) -> str: ... def create_wordlist_filter_from_file(file_path: str | None) -> _CallbackProtocol: ... def cmd() -> None: ...