aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/infini/typing.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/infini/typing.py b/src/infini/typing.py
index 08015b0e..58d2b80d 100644
--- a/src/infini/typing.py
+++ b/src/infini/typing.py
@@ -1,3 +1,8 @@
+"""Infini 类型提示支持。
+
+此模块定义了部分 Infini 使用的类型。
+"""
+
from typing import (
Dict as Dict,
Any as Any,
@@ -12,4 +17,6 @@ from typing import (
if TYPE_CHECKING:
from typing import Any
-StateT = TypeVar("StateT") \ No newline at end of file
+__all__ = ["StateT"]
+
+StateT = TypeVar("StateT")