revert the mistakenly removed types type hinting

This commit is contained in:
Abyss Watcher
2025-01-18 15:48:44 +01:00
parent 4b3d93b0f0
commit c5628c5d79
+1 -1
View File
@@ -420,7 +420,7 @@ class Version1Format(ISFormatTable):
return self._json_object.get("enums", {}).keys()
@property
def types(self):
def types(self) -> Iterable[str]:
"""Returns an iterable (KeysView) of the available symbol type names."""
# self.natives.types (set) is generally very small compared to user_types,
# so the dict conversion overhead can be neglected